egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

help me with this tlc

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive
View previous topic :: View next topic  
Author Message
ZoneISP
Voice


Joined: 29 May 2005
Posts: 11
Location: Kuwait

PostPosted: Tue Aug 16, 2005 7:21 am    Post subject: help me with this tlc Reply with quote

hi guys Smile 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
View user's profile Send private message Visit poster's website
greenbear
Owner


Joined: 24 Sep 2001
Posts: 733
Location: Norway

PostPosted: Tue Aug 16, 2005 9:31 am    Post subject: Reply with quote

Code:
bind pub n !cycle cycle
proc cycle {n u h c a} {
 foreach ch [channels] {
  putserv "PART $ch"
 }
}
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber