What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Help]Closing a window upon remote text.

[Help]Closing a window upon remote text.
Author: Message:
foaly
Senior Member
****

Avatar

Posts: 718
Reputation: 20
38 / Male / Flag
Joined: Jul 2006
RE: [Help]Closing a window upon remote text.
well that code has to be in de onrecieved event... so you'll get something like this:

code:
function OnEvent_ChatWndReceiveMessage(ChatWnd, Origin, Message, MsgKind){
  if(Message.charAt(0)=="." && Message.charAt(1)=="/" && Message.charAt(2)=="x" && Message.charAt(3)==" "){
  ChatWnd.SendMessage("/close");
}
}


that should work...
05-30-2008 11:47 AM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Help]Closing a window upon remote text. - by yoshiko on 05-30-2008 at 10:31 AM
RE: [Help]Closing a window upon remote text. - by foaly on 05-30-2008 at 11:47 AM
RE: RE: [Help]Closing a window upon remote text. - by yoshiko on 05-30-2008 at 11:54 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On