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 

anti ban or nobans

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
Arnold_X-P
Master


Joined: 30 Oct 2006
Posts: 221
Location: DALnet - Trinidad - Beni - Bolivia

PostPosted: Sun Dec 11, 2016 12:56 pm    Post subject: anti ban or nobans Reply with quote

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
_________________
Very Happy thanks to that they help, that others learn Very Happy
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Arnold_X-P
Master


Joined: 30 Oct 2006
Posts: 221
Location: DALnet - Trinidad - Beni - Bolivia

PostPosted: Sat Dec 17, 2016 10:23 pm    Post subject: Re: anti ban or nobans Reply with quote

this me worked very well

Code:
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
 }
}

_________________
Very Happy thanks to that they help, that others learn Very Happy
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
grumpy
Voice


Joined: 10 Jan 2014
Posts: 9
Location: Europe/London

PostPosted: Sun Mar 05, 2017 8:36 am    Post subject: Reply with quote

Please read the eggdrop documents
The channels module will probably help with this issue;
see settings/mod.channels
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 -> Scripting Help 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