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.

i try to make tcl

Old posts that have not been replied to for several years.
Locked
B
Bader
Voice
Posts: 35
Joined: Sat Mar 12, 2005 5:34 am

i try to make tcl

Post by Bader »

how can i , mke tcl. always 2mins, the bot part then rejoin
like
(08،57،pm) * Parts: MadMolly (molly@fbi.raided.us)
(08،57،pm) * Joins: MadMolly (molly@fbi.raided.us)
and thanks
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

Code: Select all

setudef flag cyclechan

if {[timerexists cycle:chans] == ""} {
 timer 2 [list cycle:chans]
}

proc cycle:chans {} {
 foreach chan [channels] {
  if {[channel get $chan cyclechan]} {
   putserv "PART $chan"
  }
 }
 timer 2 [list cycle:chans]
}
use .chanset #channel +cyclechan to let the bot cycle this channel every 2 minutes.

PS: you can also add a part message like this:

Code: Select all

putserv "PART $chan :message here"
Locked