What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Confused by the documentation... bear with me.

Confused by the documentation... bear with me.
Author: Message:
citricsquid
New Member
*

<div style="sexy;100%">

Posts: 13
32 / Male / Flag
Joined: Sep 2008
O.P. Confused by the documentation... bear with me.
I've read through the documentation, but I can't find a clear example of what I want.

I type /hello something and then it runs the function hello and the variable words are assigned "something"

so, /hello starts the command, I know how to do that, but I'm confused by the example.

I have the following in a seperate JS file:

code:
function TestCommand(Wnd, Params)
{
    Debug.Trace("TestCommand has been called");

    var array = VBArray(Params).toArray();
    for(i = 0; i < array.length; i++)
        Debug.Trace(" Parameter: " + array[i]);

    return "";
}


But when I type "/TestCommand fhfhf" it says TestCommand doesn't exist? Have I broken it some how?

I'm rather in a muddle. I have the script doing what I want, it's just setting it up so /script VARIABLE works.
09-24-2008 07:51 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Confused by the documentation... bear with me. - by citricsquid on 09-24-2008 at 07:51 PM
RE: Confused by the documentation... bear with me. - by ShawnZ on 09-24-2008 at 08:01 PM
RE: RE: Confused by the documentation... bear with me. - by citricsquid on 09-24-2008 at 08:10 PM
RE: Confused by the documentation... bear with me. - by roflmao456 on 09-24-2008 at 08:44 PM
RE: Confused by the documentation... bear with me. - by Jesus on 09-25-2008 at 12:01 AM
RE: Confused by the documentation... bear with me. - by ShawnZ on 09-25-2008 at 02:16 AM
RE: Confused by the documentation... bear with me. - by Volv on 09-25-2008 at 02:22 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