This might be alot to ask. I have being trying to create a script that works, its almost done.
I  am stuck on the interface window how can i make it so theres a text box that when i click save it will change the word test (below) to the text that is inputed in the box.
code:
    function OnEvent_ChatWndSendMessage(ChatWnd, sMessage)
    {
       return sMessage.replace("hi", "test");
    }
one more thing,
Is there a way if somone types web (example) the script will send back wed2
Thanks in advance
