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.

problem with a timer that floods

Old posts that have not been replied to for several years.
Locked
S
Snapple
Voice
Posts: 38
Joined: Fri Jul 18, 2003 4:41 pm
Location: Israel
Contact:

problem with a timer that floods

Post by Snapple »

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]
}
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! 8)
Snapple
There are 10 kind of people here, the one's who know binary code and the one's who don't.
User avatar
strikelight
Owner
Posts: 708
Joined: Mon Oct 07, 2002 10:39 am
Contact:

Post by strikelight »

Instead of posting new topics, how bout you read the replies to your previous topics? Geesh... :evil:

http://forum.egghelp.org/viewtopic.php?t=5544
Locked