This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

timer

Old posts that have not been replied to for several years.
Locked
C
Carnage69
Halfop
Posts: 64
Joined: Sat Jun 07, 2003 8:25 pm

timer

Post by Carnage69 »

hello i tryped this timer script but it doesent work can anyone help me?




bind pub -|- .timer timer_set
bind pub -|- .killtimer timer_kill

proc timer_set {nick host hand chan arg} {
if {![validuser $hand]} {return}
global url pathqstat cc nopub timer
if {[lsearch -exact $nopub [string tolower $chan]] >= 0} {return 0}
if {$arg == ""} {
putserv notice $nick "To Use Do .Timer msg #Chan Message"
return 0
}
set timer1 "$arg"
putserv "PRIVMSG $nick :Timer Has Ben STARTED"
timer 5 :$timer1"
}

proc timer_kill {nick host hand chan arg} {
if {![validuser $hand]} {return}
global url pathqstat cc nopub timer_kill
if {[lsearch -exact $nopub [string tolower $chan]] >= 0} {return 0}
if {$arg == ""} {
putserv notice $nick "To Use Do .Timer Number Of Timer To Kill"
return 0
}
set killtimer "$arg"
killtimer "$arg"
}
Locked