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 thing

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
.
.pt
Halfop
Posts: 71
Joined: Wed Nov 16, 2005 10:14 am

timer thing

Post by .pt »

hi all, can someone tell me how to set a timer for every channel the bot is on so he will execute a proc for all the channels


tks in advance
User avatar
krimson
Halfop
Posts: 86
Joined: Wed Apr 19, 2006 8:12 am

Post by krimson »

Code: Select all

foreach chan [channels] {
  timer <time> <proc>
}
.
.pt
Halfop
Posts: 71
Joined: Wed Nov 16, 2005 10:14 am

Post by .pt »

sorry for asking again but i didn't explain properly in the first time, i have a script that responds to something when i do a command, and i would like that the script did that for some channels from time to time..


tks
Post Reply