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 

How to exclude +f users from been kicked

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


Joined: 09 Jun 2005
Posts: 8

PostPosted: Tue Jan 03, 2006 4:18 am    Post subject: How to exclude +f users from been kicked Reply with quote

Hi!

I use chanpro2.2 tcl script which serves me just fine.

Recently I wanted to change it so the +f users on bots won't be kicked by this script.

The script has protectops but not protect +f users option.

What is the easiest way to implement this?

Here is the relevant if statement:
#checks if the user is an op, if so check if protect_ops is enabled
if {([matchattr $hand o|o $chan] || [isop $nick $chan]) && $chanpro(protect_ops)} {
if {$chanpro(warnings)} {putserv "[subst $chanpro(op_method)] :[subst $chanpro(op_caps)]"}
return 0
}

Any help is very welcomed.

Thnx!

--
M.
Back to top
View user's profile Send private message
nANDu
Voice


Joined: 22 May 2005
Posts: 15

PostPosted: Tue Jan 03, 2006 5:21 am    Post subject: Reply with quote

find this [matchattr $hand o|o $chan] and replace it with [matchattr $hand of|of $chan]
Back to top
View user's profile Send private message
mp35486
Voice


Joined: 09 Jun 2005
Posts: 8

PostPosted: Tue Jan 03, 2006 6:03 am    Post subject: Reply with quote

nANDu wrote:
find this [matchattr $hand o|o $chan] and replace it with [matchattr $hand of|of $chan]


Thanks a lot! Smile

This is what I wanted! Smile

--
M.
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