Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on *:text:!start:#:{ if ($read(modlist.txt,nw,$nick)) {
- msg # Starting uptime.
- set -e %uptime. [ $+ [ # ] ] $ctime
- }
- }
- on *:text:!time:#: { if ((%floodtime) || ($($+(%,floodtime.,$2),2))) { return }
- set -u30 %floodtime On
- set -u30 %floodtime. $+ $nick On
- msg # $nick - The stream has been on for approximately $duration($calc($ctime - %uptime. [ $+ [ # ] ] )) }
- on *:text:!stop:#: { if ($read(modlist.txt,nw,$nick)) {
- msg # Stopping uptime.
- unset %uptime. [ $+ [ # ] ]
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement