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

Swear Filter + Punishment plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
imported_HoAx
Junior Member
Join Date: Oct 2004
Old 10-11-2004 , 11:20   Swear Filter + Punishment plugin
Reply With Quote #1

Just go this for amxx and works great! please converter to Sourcemod whenever
imported_HoAx is offline
xeroblood
BANNED
Join Date: Mar 2004
Location: Toronto, Canada
Old 10-20-2004 , 12:51  
Reply With Quote #2

I am rebuilding it for AMX & AMXX, and when the HL2-SDK is finally out, and SourceMod is finished, I will then convert it yet again for HL2.. but we're a long way from there yet!! Patience!!
xeroblood is offline
Send a message via MSN to xeroblood
imported_malex
Senior Member
Join Date: Sep 2004
Old 10-20-2004 , 14:40  
Reply With Quote #3

There are all sorts of plugins for AMX Mod X that do little else besides convert said text into commands. Perhaps a generalized text parsing plugin could be made, one that would listen to text and interpret it based on rules. The rules could modify the text, or run commands, or do whatever else is needed.

With the promised regex support in SourceMod, this could be a sample config for such a plugin (most likely would have to be refined):

Code:
s/(badword|anotherone)/******/ continue
/(worstwordyoucansay|\Wur\W)/ run "sm_kick %id%" stop

/^@top (.*)$/ run "sm_tsay %1" stop
I think that's self explanatory. First line replaces badwords, the next one kicks people for saying really bad words, and the last one lets admins tsay without opening a console.

\malex\
imported_malex is offline
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 17:53.


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