I am having some troubles with the daily events I am trying to run. Basically I am not sure how to reset a task at a specific time. For instance I have a quest that create a task when the user teleports to the map. I am not sure how to set it so that every midnight all the tasks for that number are deleted.
Example: Teleporting runs this:
301 302 0 1080 9005 new
I want this to run every midnight:
310 0 0 1080 9005 delete
Anyone have any suggestions? I was thinking about running an action so that the 302 id would be like a repetitive id constantly checking the time, and when it was 24:00 then delete. Example:
302 310 302 123 4 23:59 24:00
310 0 0 1080 9005 delete
Obviously I'm missing some stuff, but would it work?






