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.

help me with this tlc

Old posts that have not been replied to for several years.
Locked
Z
ZoneISP
Voice
Posts: 11
Joined: Sun May 29, 2005 4:50 pm
Location: Kuwait
Contact:

help me with this tlc

Post by ZoneISP »

hi guys :) i wonder if u can make for me small tcl only want to add some thing like !cycle in puplic

set cycletime 4
timer $cycletime cycle
proc cycle {} {
global cycletime
foreach c [channels] {
putserv "PART $c"; putserv "JOIN $c"; timer $cycletime cycle
}
}

so when i do !cycle the bot do cycle all channels
g
greenbear
Owner
Posts: 733
Joined: Mon Sep 24, 2001 8:00 pm
Location: Norway

Post by greenbear »

Code: Select all

bind pub n !cycle cycle
proc cycle {n u h c a} {
 foreach ch [channels] {
  putserv "PART $ch"
 }
}
Locked