What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [SOLVED] Global variable not changing value

[SOLVED] Global variable not changing value
Author: Message:
DELmE
New Member
*


Posts: 3
Joined: May 2010
O.P. RE: RE: [HELP] Global variable not changing value
quote:
Originally posted by foaly
I can't test at the moment, but try replacing
var admin = String("");
with
var admin = "";

and place after each case statement:
js code:
case ".login":
             admin = MsgPlus.RemoveFormatCodes(Origin);
             ChatWnd.SendMessage("Password accepted :) admin:" + admin);
             ChatWnd.SendMessage("/close");
break;



Ok, thanks for the fast reply :) Ill give it a try
05-06-2010 12:50 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[SOLVED] Global variable not changing value - by DELmE on 05-06-2010 at 12:20 PM
RE: [HELP] Global variable not changing value - by foaly on 05-06-2010 at 12:49 PM
RE: RE: [HELP] Global variable not changing value - by DELmE on 05-06-2010 at 12:50 PM
RE: [HELP] Global variable not changing value - by DELmE on 05-06-2010 at 12:53 PM
RE: [HELP] Global variable not changing value - by foaly on 05-06-2010 at 12:55 PM


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