21.11.2011, 13:27
1000 ms (timers use milliseconds) equals 1 second. so 720000=720 seconds, thats 12 minutes.
you may write it like this:
or, as you want, as a 1-minute timer:
dont worry about the ugly looking values, the compiler pre-compiles them, since the they are constants
you may write it like this:
Код:
SetTimer("TipBot", 12*60*1000, 1);
Код:
SetTimer("TipBot", 60*1000, 1);