[HELP] How to make an event buff??

06/20/2018 04:33 hiderian#1
I'd like to add an event buff like "add_event_state(4003, 1)" for all players on time. I mean, add some buffs for all login users when it's 12:00.
Otherwise, everyone can receive some buffs from a NPC once a day.

Please tell me how to write either one of these scripts!! Thank you.
06/20/2018 08:52 Dark Blaze#2
You can write a script to trigger the event buff and remove it after the duration is over.
06/20/2018 12:31 hiderian#3
Quote:
Originally Posted by Dark Blaze View Post
You can write a script to trigger the event buff and remove it after the duration is over.
How to do it automatically? I want to do it automatically by lua scripts...
06/20/2018 15:36 Dark Blaze#4
You're not limited to lua scripts, you can write a PowerShell script that executes the commands you want at a specific time you set.