bind join - * join:join
proc join:join {nicka uhost hand chan} {
if {[string tolower $nicka] == [string tolower lalali]} {
starta $chan
}
}
proc starta {chan} {
global botnick botChan
putserv "PRIVMSG $chan :Hello!"
utimer 600 [list starta $chan]
}
Ok, I have this code
It suppose to right a message "Hello!" every 10 minutes
the bot is in 3 chans
it worked very good for some hours
after that it started flooding the message every minute,
whats wrong?
thanks!
Snapple
There are 10 kind of people here, the one's who know binary code and the one's who don't.