What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Problem using /script

Problem using /script
Author: Message:
Blaggi
New Member
*


Posts: 6
34 / Male / –
Joined: Jul 2006
O.P. Problem using /script
Yeah so im building a Gradient Script, and i want to Configure the colors with the /script command

code:
function color_1(c)
{
     col1 = c;
     toast("Gradient", "Color 1 set to "+c+"!");
}

function color_2(c)
{
     col2 = c;
     toast("Gradient", "Color 2 set to "+c+"!");
}

function color_3(c)
{
     col3 = c;
     toast("Gradient", "Color 3 set to "+c+"!");
}

function toast(title, text)
{
     MsgPlus.DisplayToast(title, text);
}


When i do e.g "/script color_1 4", to change first color to red, i get that tost:

Gradient:
Color 1 set to  !

And it doesnt change color, so the c param doesnt work oO

This post was edited on 07-05-2006 at 02:35 PM by Blaggi.
If you need a German translator, drop me a message at MSN
english <-> german
07-05-2006 02:31 PM
Profile E-Mail PM Web Find Quote Report
Blaggi
New Member
*


Posts: 6
34 / Male / –
Joined: Jul 2006
O.P. RE: Problem using /script
bump..

No solution for this?
This thread seems to fell back on page 2.....
If you need a German translator, drop me a message at MSN
english <-> german
07-05-2006 09:51 PM
Profile E-Mail PM Web Find Quote Report
ShawnZ
Veteran Member
*****

Avatar

Posts: 3146
Reputation: 43
32 / Male / Flag
Joined: Jan 2003
RE: Problem using /script
that isn't how you read parameters. search the documentation for ScriptCommandTemplate.
Spoiler:
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
07-05-2006 10:09 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »


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