module

About Time

Endorsements
17
Installs
11.06%
Comments
0
Latest version14.0.1
Minimum Core13
Compatible Core14
File size2.62 KB
Last updated2 months ago
Created6 years ago
Authors
Languages 日本語
Deutsch (German)
English
Español
Français
Italian
Korean
Português (Brasil)
Češky
中文
正體中文
Systems All systems
Dependencies Simple Calendar
Project source Project URL
Report bugs Bug tracker URL

Allows you to trigger events to occur at specified times.

 

About-time uses AI (Claude) to generate test cases.

The interface is programatic only Access these via game.Gametime.XXXXX

  • doEvery({day:1}, () => console.log("another day another dollar"))
    every day run the handler.

  • doAt({hour:1}, "My Macro"))
    run a macro in 1 hour of gametime

  • reminderAt({minute: 10}, "Check for wandering monsters"}
    send a message to the console.

  • reminderEvery({minute: 10}, "Check for wandering monsters"}
    do a reminder every 10 minutes.
    Each of the above return an id which can be used to cancel the event

  • clearTimeout(eventID)

Subscribe
Notify of
0 Comments
0
Would love your thoughts, please comment.x
()
x