Advertisement
SparkzxViperz

Untitled

Nov 14th, 2014
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. on *:text:!start:#:{ if ($read(modlist.txt,nw,$nick)) {
  2. msg # Starting uptime.
  3. set -e %uptime. [ $+ [ # ] ] $ctime
  4. }
  5. }
  6.  
  7. on *:text:!time:#: { if ((%floodtime) || ($($+(%,floodtime.,$2),2))) { return }
  8. set -u30 %floodtime On
  9. set -u30 %floodtime. $+ $nick On
  10. msg # $nick - The stream has been on for approximately $duration($calc($ctime - %uptime. [ $+ [ # ] ] )) }
  11.  
  12. on *:text:!stop:#: { if ($read(modlist.txt,nw,$nick)) {
  13. msg # Stopping uptime.
  14. unset %uptime. [ $+ [ # ] ]
  15. }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement