I just figured it out
. I had my code all wrong >_>.
I can now replace words, letters, symbols, anything... with anything else
.
I am creating a script for this thread:
Click Here
It is almost done
. Just need to find good replacements for each letter of the english alphabet, and I will be good to go. Then I can work on a script for me
.
@Joereynolds89: This is quite simple (after you know how to do it
. And I had no clue like 5 minutes ago lol). Use this code:
code:
function OnEvent_ChatWndSendMessage(pChatWnd, sMessage)
{
sMessage = sMessage.replace("a","A");
sMessage = sMessage.replace("b","B");
...
sMessage = sMessage.replace("y","Y");
sMessage = sMessage.replace("z","Z");
return sMessage;
}
Just do it for each letter of the alphabet
.