/whisper cannot be in middle of a sentence
Brought to you by:
ajaximrpg
For most commands, like /me and /name, the /command can be used in the middle of a sentence and will not be executed. For example, a user can type "You can use /me to do an action" and the system will show that exact sentence without trying to execute the /me command. But, if you use /whisper instead of /me in the middle of a sentence, it tries to execute it and shows something like "/whisper dhoward This is a whisper." you can whisper to me.” (dhoward whispers to ).
It should also be verified that whispers only go to intended users.
Changed format() in ajax_act.php to use substr() instead of strpos() to only find /whisper at the start of a sentence instead of anywhere in the sentence.