Closed Nolij closed 3 years ago
Yes you can, like so:
include "Events"
include "Text"
[Event Events.tick]
void on_tick() {
Text t;
t << "tick";
t.send_to_all();
}
[Event Events.load]
void on_load() {
Text t;
t << "load";
t.send_to_all();
}
Fantastic project. Will be using this for a few things.
Is it possible to have a function be called upon /reload and every tick? Would be very useful.