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:
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
32 / Male / Flag
Joined: Apr 2004
RE: Multiple Function Call/callbacks
Sure, just make the function return an array! :)

code:
function SendInfo() {
   var arrayInfo = SetInfo();
   Messenger.MyName = arrayInfo[0];
   Messenger.MyPersonalMessage = arrayInfo[1];
}

function SetInfo() {
   var returns = new Array();
   returns[0] = "Stefan Leroux";
   returns[1] = "Scripting God (LOL)";
   return returns;
}
Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
12-01-2007 09:15 AM
Profile E-Mail PM Web 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