| View previous topic :: View next topic |
| Author |
Message |
ZoneISP Voice
Joined: 29 May 2005 Posts: 11 Location: Kuwait
|
Posted: Tue Aug 16, 2005 7:21 am Post subject: help me with this tlc |
|
|
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 |
|
| Back to top |
|
 |
greenbear Owner
Joined: 24 Sep 2001 Posts: 733 Location: Norway
|
Posted: Tue Aug 16, 2005 9:31 am Post subject: |
|
|
| Code: | bind pub n !cycle cycle
proc cycle {n u h c a} {
foreach ch [channels] {
putserv "PART $ch"
}
} |
|
|
| Back to top |
|
 |
|