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.

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

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
x
xddddd
Voice
Posts: 5
Joined: Sun Sep 04, 2011 4:32 am

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

Post by xddddd »

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
w
willyw
Revered One
Posts: 1200
Joined: Thu Jan 15, 2009 12:55 am

Re: Don't warn/punish a user who's writting to a caps lock N

Post by willyw »

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:
# * 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: Select all

# 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:
# 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: Select all

.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.
w
willyw
Revered One
Posts: 1200
Joined: Thu Jan 15, 2009 12:55 am

Re: Don't warn/punish a user who's writting to a caps lock N

Post by willyw »

xddddd wrote:Sorry my bad english...
...
I understand. :)


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? ... start=1245


Maybe that will help too.
:)
x
xddddd
Voice
Posts: 5
Joined: Sun Sep 04, 2011 4:32 am

Re: Don't warn/punish a user who's writting to a caps lock N

Post by xddddd »

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.
w
willyw
Revered One
Posts: 1200
Joined: Thu Jan 15, 2009 12:55 am

Re: Don't warn/punish a user who's writting to a caps lock N

Post by willyw »

I suggest you ask in that thread.
x
xddddd
Voice
Posts: 5
Joined: Sun Sep 04, 2011 4:32 am

Re: Don't warn/punish a user who's writting to a caps lock N

Post by xddddd »

Thanks, I did it today :)
Post Reply