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 

Channel Protection - Kick/Ban if not on list

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
Hectic
Voice


Joined: 22 Aug 2012
Posts: 1

PostPosted: Wed Aug 22, 2012 2:08 am    Post subject: Channel Protection - Kick/Ban if not on list Reply with quote

I do not know TCL that well, but I attempting to figure it out. If someone could help me with this script it may give me a better understanding of how to write my future TCL scripts.

I would like a Channel Protection script of sorts. Basically, I want the bot to kick ban a user if there nick is:

a.) Not on a list. (This could be an actual list or a nick authorized to use the bot (.chattr I believe))

b.) If the nick begins with a certain prefix, I would like the user to be allowed to stay. (For example the nick "blah-mynick") Something like blah-* would not get banned or kicked.

I've found the following script, which give voice to users added to a list. Can this be modified to do what I would like it to? I like the ability to add nick via .addvip and to turn it on/off:
http://www.egghelp.org/cgi-bin/tcl_archive.tcl?mode=download&id=1641
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests 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