Did you read my post at all? o.O
I'm already doing this most likely, since string.escape() will put backslashes infront of several characters. But the backslashes will remain when then putting the string into a TextEdit Control.
Let's say the player says the following:
test1 "test2" test3, test4
PHP Code:
temp.string = player.chat.escape().tokenize();
//stuff modifying the string
temp.newString = "";
for (temp.c: temp.string)
newString @= c @ " ";
ChatBar.text = newString;
Will result in this:
test1 \"test2\" test3, test4
And exactly this being put into the chatbar. Just an example, hope you get what I mean.