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 

need help ^^

 
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
equal1zer
Guest





PostPosted: Tue Jan 27, 2004 3:40 pm    Post subject: need help ^^ Reply with quote

i've tried to make this tcl script, but i have not succeded. I want to make a script that do following things:

- if somebody write something on a chan etc .. *word1*, *word2* ..
- only in #chan1, #chan2 and #chan3
- then i want the bot to copy the hole line that contain one of the words and add [ /msg $nick word1 ] behind..

I also want a script that kick $nick if he part #otherchan if he is on #mychan

and a script that invite a person to #otherchan if he type !chan in #mychan , like i've tried to do with this:

Code:

bind pub - !chan pub:!chan

proc pub:!chan {nick host hand chan arg} {
   global botnick
   if {[llength $arg] > 1} {
      notice $nick "Usage: !chan nothing more"
   }
        notice $nick join #otherchan join here..
        invite $nick #otherchan
   }
        return 1
}
Back to top
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