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\