Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Routine for autorestart of main loop
- proc minder {}
- {
- global loopstamp
- putquick "PRIVMSG ChemicalAgent :$loopstamp"
- set ctime [unixtime]
- set stime [expr $ctime - $loopstamp]
- if ($stime >= 360)
- {
- putquick "PRIVMSG ChemicalAgent :Autorestart of main loop"
- utimer 5 loop
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement