What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Multiple Function Call/callbacks

Multiple Function Call/callbacks
Author: Message:
markee
Veteran Member
*****

Avatar

Posts: 1621
Reputation: 50
36 / Male / Flag
Joined: Jan 2006
RE: Multiple Function Call/callbacks
quote:
Originally posted by -dt-
er just check for it on received message

code:
function OnEvent_ChatWndReceiveMessage (wnd, origin, msg){

switch(msg){
case "!xxx" : wnd.SendMessage(AzureusInfoFetch()); break;
}


}



(the function name may be incorrect, since I'm unable to download the scripting docs here :( )
That is very silly as the only way it will work (due to async) is to freeze messenger while it gets it :dodgy:

What you need to do is parse the chat window object through all of your functions as an extra parameter and then at the end of AzureusInfo() you can send it to that chat window using the SendMessage method of that chat window object you parsed through.  I would edit the code to show you but I'm feel lazy :P

This post was edited on 11-30-2007 at 03:27 AM by markee.
[Image: markee.png]
11-30-2007 03:27 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Multiple Function Call/callbacks - by ArkaneArkade on 11-29-2007 at 12:44 PM
RE: Multiple Function Call/callbacks - by -dt- on 11-30-2007 at 12:30 AM
RE: Multiple Function Call/callbacks - by markee on 11-30-2007 at 03:27 AM
RE: Multiple Function Call/callbacks - by -dt- on 11-30-2007 at 03:37 AM
RE: Multiple Function Call/callbacks - by ArkaneArkade on 11-30-2007 at 10:27 PM
RE: Multiple Function Call/callbacks - by Matti on 12-01-2007 at 09:15 AM
RE: Multiple Function Call/callbacks - by ArkaneArkade on 12-01-2007 at 09:24 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