Quote:
Originally Posted by iclassdon
Super! one last thing. Space is needed between name and colon.
i.e.
Current = Player: Good Game !
Game Standard = Player : Good Game !
Edit: It's also doing matching inside already formed words. For example added "ns", "!x04Nice Shot!" We have a trigger called /guns it will replace it with /guNICE Shot! Any workaround for this?
|
Check the slash at the beginning of the sentence and ignore the acronym.
PHP Code:
if (!szText[0])
return PLUGIN_CONTINUE;
PHP Code:
if (!szText[0] || szText[0] == '/')
return PLUGIN_CONTINUE;
__________________