Code: Select all
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]
}
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!