Raised This Month: $51 Target: $400
 12% 

Auto swear gag


Post New Thread Reply   
 
Thread Tools Display Modes
Ejziponken
AlliedModders Donor
Join Date: Apr 2008
Old 02-16-2012 , 13:32   Re: Auto swear gag
Reply With Quote #21

hm, i have one more request for this plugin.

Could u remove the gag stuff? I only want it to block the words.
Ejziponken is offline
Schpraaankiii
Veteran Member
Join Date: Dec 2009
Location: Sweden Norrköping
Old 02-16-2012 , 14:01   Re: Auto swear gag
Reply With Quote #22

The admins in-game don't get notifyed when a player gets autogaged and neither do the players. The only place where you can se when a players has been autogaged is in the HLDS console.
__________________
CAOSK-ESPORTS.COM

Last edited by Schpraaankiii; 02-16-2012 at 14:01.
Schpraaankiii is offline
Send a message via Skype™ to Schpraaankiii
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 02-16-2012 , 14:31   Re: Auto swear gag
Reply With Quote #23

Quote:
Originally Posted by Schpraaankiii View Post
Is it posible to also add a warning with cvar so I can type what ever I want...
I want this warning to show the first time (insted of a gag) when the say a banned word.
Quote:
Originally Posted by Ejziponken View Post
Could u remove the gag stuff? I only want it to block the words.
Done. See post to know how to configure it.

Quote:
Originally Posted by Schpraaankiii View Post
The admins in-game don't get notifyed when a player gets autogaged and neither do the players. The only place where you can se when a players has been autogaged is in the HLDS console.
What gag plugin are you using?
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Ejziponken
AlliedModders Donor
Join Date: Apr 2008
Old 02-16-2012 , 14:37   Re: Auto swear gag
Reply With Quote #24

Quote:
Originally Posted by Exolent[jNr] View Post
Done. See post to know how to configure it.



What gag plugin are you using?

VERY NICE. Big thx to you!

Edit: Have two more request.

1. When gag is off, it should say in the chat to the person when a word is blocked.
2. A logfile with all the words that get blocked (so we can se if there is any words that should be okay but get blocked anyway).

Last edited by Ejziponken; 02-16-2012 at 14:52.
Ejziponken is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 02-16-2012 , 15:12   Re: Auto swear gag
Reply With Quote #25

Quote:
Originally Posted by Ejziponken View Post
1. When gag is off, it should say in the chat to the person when a word is blocked.
2. A logfile with all the words that get blocked (so we can se if there is any words that should be okay but get blocked anyway).
Done. See the post for the plugin.

I noticed I haven't been updating the version numbers.
I hope that hasn't been throwing either of you off.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Schpraaankiii
Veteran Member
Join Date: Dec 2009
Location: Sweden Norrköping
Old 02-16-2012 , 15:35   Re: Auto swear gag
Reply With Quote #26

Quote:
Originally Posted by Exolent[jNr] View Post
What gag plugin are you using?
I'm using This one
__________________
CAOSK-ESPORTS.COM
Schpraaankiii is offline
Send a message via Skype™ to Schpraaankiii
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 02-16-2012 , 15:41   Re: Auto swear gag
Reply With Quote #27

Quote:
Originally Posted by Schpraaankiii View Post
I'm using This one
It shows in chat based on your amx_show_activity cvar.
Do you have that cvar turned off (0)?
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Ejziponken
AlliedModders Donor
Join Date: Apr 2008
Old 02-16-2012 , 16:29   Re: Auto swear gag
Reply With Quote #28

Quote:
Originally Posted by Exolent[jNr] View Post
Done. See the post for the plugin.

I noticed I haven't been updating the version numbers.
I hope that hasn't been throwing either of you off.

Thx. Hm one problem i think..

=======================================
Message: "asdhora"
Matches:
- "dhora"
- "dhora"

Is that right? :s The matches seems wrong?
Ejziponken is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 02-16-2012 , 16:39   Re: Auto swear gag
Reply With Quote #29

The way the filter works is that every string and regex is combined into one pattern separated by the RegEx OR.
All "regex" patterns from the file are encapsulated by parenthesis so as to not break with the complete pattern.

Example:
"string" "test"
"regex" "ha{3}"

Would make this pattern:
test|(ha{3})

As you should know, parenthesis indicate matches to be saved.
So if you typed "hahaha" it would match once (because it matches the whole pattern somewhere) and match it again because the pattern it matches is contained in parenthesis.

I could take the RegEx patterns out of parenthesis but I was unsure if that could be an issue.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Schpraaankiii
Veteran Member
Join Date: Dec 2009
Location: Sweden Norrköping
Old 02-16-2012 , 18:45   Re: Auto swear gag
Reply With Quote #30

Quote:
Originally Posted by Exolent[jNr] View Post
It shows in chat based on your amx_show_activity cvar.
Do you have that cvar turned off (0)?
I changed amx_show_activity to 1 and it works now. But it looks a little bit strange...

"PLAYER: Has gagged k0nan from speaking for 10 minutes! (say / say_team / voicecomm"

Should'nt it be like "k0nan has been gagged from speaking for 10 minutes! (say / say_team / voicecomm" insted.

EDIT
I have one more request...
I want a list of allowed words for when you are gagged. So if a player gets gaggad he shoud still be able to type words from this list whithout the "You are gagged..."- text to apear.
In this list there will be things like: /rank /xp /admin ... and so on.
__________________
CAOSK-ESPORTS.COM

Last edited by Schpraaankiii; 02-16-2012 at 19:07.
Schpraaankiii is offline
Send a message via Skype™ to Schpraaankiii
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:44.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode