egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

timer

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive
View previous topic :: View next topic  
Author Message
Carnage69
Halfop


Joined: 07 Jun 2003
Posts: 64

PostPosted: Sat Jun 28, 2003 5:08 am    Post subject: timer Reply with quote

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"
}
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber