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 

Don't warn/punish a user who's writting to a caps lock NiCK

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


Joined: 04 Sep 2011
Posts: 5

PostPosted: Thu Nov 10, 2011 1:52 am    Post subject: Don't warn/punish a user who's writting to a caps lock NiCK Reply with quote

Sorry my bad english...

I've got a tcl (ALL PROTECTION 4.6b9).

If I talk to a NiCK caps lock (SPIDERMAN) and everytime I talk to him writting down his NiCK, don't get warn by my egg because is not caps violation... Thats all...

Thanks
Back to top
View user's profile Send private message
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Thu Nov 10, 2011 10:32 am    Post subject: Re: Don't warn/punish a user who's writting to a caps lock N Reply with quote

xddddd wrote:
Sorry my bad english...

I've got a tcl (ALL PROTECTION 4.6b9).

If I talk to a NiCK caps lock (SPIDERMAN) and everytime I talk to him writting down his NiCK, don't get warn by my egg because is not caps violation... Thats all...

Thanks


I think you have a couple of options to explore, to see which you like best.

Find this information in the script's header:
Quote:

# * AllProtection exempts channel ops, friends (+f) and masters (+mo) from protection by default.
# That means users with the +f or +mo flags will not be affected by any protection.


Then see this configuration option:
Code:

# Set here any additional exempts, you can exempt the following:
# ops: Channel ops
# halfops: Channel halfops
# voices: Channel voices
# +flags|+flags: Users with global or channel specific flags (e.g. +fm friends and masters...)
# -flags&-flags: Users which do not have the specified flags (e.g. -k&-k)
variable exmptype {ops voices +fmo|+fmo}


It seems that you do not have the +f flag on yourself,
or
you have removed +f from those configured as exempt.
Experiment with setting an exempt flag on yourself. See if that is satisfactory.


Something else to consider:

In the AP script, find this:
Quote:

# Use .chanset #channel ap:caps <percent>:<line-length> <btime> <pmeth> <btype> (in DCC, 0:0 to disable)



SPIDERMAN is 9 letters.

As an example, if you:
Code:

.chanset ap:caps 70:10 1 w:k 2


Then script will not trigger until there are at minimum 10 characters in upper case, AND exceeding 70% of the line of text.

In your case, the minimum of 10 is the key.
If you use this method to get around your problem, then everyone will be able to type up to 9 characters in upper case.
Again, I suggest you experiment, to be able to better decide if this is to your liking.
This is unlike using the +f flag mentioned above, which would only apply to those you choose to give the +f flag.


I hope this helps.


Last edited by willyw on Thu Nov 10, 2011 10:37 am; edited 1 time in total
Back to top
View user's profile Send private message
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Thu Nov 10, 2011 10:36 am    Post subject: Re: Don't warn/punish a user who's writting to a caps lock N Reply with quote

xddddd wrote:
Sorry my bad english...
...


I understand. Smile


Perhaps you did not see a message area here:
Script Support & Releases
http://forum.egghelp.org/viewforum.php?f=3
or understand it.

For your future reference, regarding the AllProtection script, in that area there is a thread devoted just to AP:
http://forum.egghelp.org/viewtopic.php?t=9721&start=1245


Maybe that will help too.
Smile
Back to top
View user's profile Send private message
xddddd
Voice


Joined: 04 Sep 2011
Posts: 5

PostPosted: Thu Nov 10, 2011 11:50 am    Post subject: Re: Don't warn/punish a user who's writting to a caps lock N Reply with quote

Thanks both...

I'm on a 1000 user channel and there are some nicks that uses caps lock (above 9 letters, above 10, above 11...) All that I want is exempt nicks that are already wirtten in caps (SPIDERMAN, SILVER, SILVERHAWK...) not a whitelist, I want that if someone completes by using TAB, don't get warn or punish... Sorry my bad english again guys


Last edited by xddddd on Thu Nov 10, 2011 12:04 pm; edited 2 times in total
Back to top
View user's profile Send private message
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Thu Nov 10, 2011 11:56 am    Post subject: Re: Don't warn/punish a user who's writting to a caps lock N Reply with quote

I suggest you ask in that thread.
Back to top
View user's profile Send private message
xddddd
Voice


Joined: 04 Sep 2011
Posts: 5

PostPosted: Thu Nov 10, 2011 12:04 pm    Post subject: Re: Don't warn/punish a user who's writting to a caps lock N Reply with quote

Thanks, I did it today Smile
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