Bielie commented on a Page, Timer Advert Script  -  Oct 19, 2010

Isnt it a bit easier to use it like this?

setteble timers in seconds. All you have to do is make a script that sets a variable with the info. (%event)

on $*:text:/^[!.@]eventspam/Si:#:{
  if ($nick !isop $chan) { halt }
  elseif ($2- == $null) { notice $nick Please use the correct syntax: !eventspam on/off <Delay in seconds> }
  elseif ($2 == off) { notice $nick The eventspam option is now turned 4OFF1. | $+(timer,$chan) off }
  elseif ($3 == $null) { notice $nick Please use the correct syntax: !eventspam on/off <Delay in seconds> }
  elseif ($2 == on) && ($3 != $null) { notice $nick The eventspam option has been turned 4ON5 for channel $chan 10(The message will repeat every $3- seconds!) | $+(timer,$chan) 0 $3 /msg $chan 5The current event for $chan is:12 ( %event [ $+ [ $chan ] ] ) }
}
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.