How do I create a function that starts a tick system? For example:
---------------------------------------------------
function start tick (ticks every 5 minutes)
---------------------------------------------------
-------------------
function ontick
messageall hi
-------------------
I have tried to use loops for this but my main problem is that I don't know how to delay loops.