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.

anti ban or nobans

Help for those learning Tcl or writing their own scripts.
Post Reply
User avatar
Arnold_X-P
Master
Posts: 226
Joined: Mon Oct 30, 2006 12:19 am
Location: DALnet - Trinidad - Beni - Bolivia
Contact:

anti ban or nobans

Post by Arnold_X-P »

good morning
someone please who spends the anti ban tcl to me
that the bot takes the ban from himself to ip or ident
and that takes also the bans from the friends +f
.:an ideal world:. www.geocities.ws/chateo/yo.htm
my programming place /server ix.scay.net:7005
User avatar
Arnold_X-P
Master
Posts: 226
Joined: Mon Oct 30, 2006 12:19 am
Location: DALnet - Trinidad - Beni - Bolivia
Contact:

Re: anti ban or nobans

Post by Arnold_X-P »

this me worked very well

Code: Select all

bind mode - "*+b*" bansnobot

proc bansnobot {nick uhost hand chan mode ban } {
global botnick botname
if {[string match "$ban" "$botname"]} {
putquick "mode $chan -o $nick" 
putquick "mode $chan -b $ban" 
putserv "mode $chan +eI $botnick $botnick" -next
putserv "PRIVMSG $chan :calm down please, stop."
return 0
 }
}
.:an ideal world:. www.geocities.ws/chateo/yo.htm
my programming place /server ix.scay.net:7005
User avatar
grumpy
Voice
Posts: 9
Joined: Fri Jan 10, 2014 3:23 pm
Location: Europe/London

Post by grumpy »

Please read the eggdrop documents
The channels module will probably help with this issue;
see settings/mod.channels
Post Reply