Hello.
First, i'm sorry if this has been asked before, i've been looking for a while through already done scripts, the official documentation, and searchs through this subforum.
I want to add a small multi-contact chat feature to my script (JabberChatroom-Alike), so the first thing i need is try to %$· close a window.
I realized that for closing the window, i could require use the command /close , so, in this code:
code:
if(Message.charAt(0)=="." && Message.charAt(1)=="/" && Message.charAt(2)=="x" && Message.charAt(3)==" "){
}
i tried to add the SendMessage("/close"); command, and also calling the On_ChatWndSendMessage(ChatWnd, Message); , but seems senseless, to not say i also tried to do something like ChatWnd.Close , but didnt work.
So, may i ask for guidance? Thank you in advance ^^