What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » WLM Plus! Bug Reports » Script menu not showing all scripts...

Script menu not showing all scripts...
Author: Message:
whiz
Senior Member
****


Posts: 568
Reputation: 8
– / – / Flag
Joined: Nov 2008
O.P. RE: Script menu not showing all scripts...
Well, I've just been experimenting with Idle Manager (one of my own scripts), which wasn't working at all, and I found a particularly weird problem.  The start of the code in one of the files is like this:
js code:
var Idle = false;
var IdleStat = false;
var IdleTime = 0;
var IdleWnd;

var Name, PSM;

var Cache = {};

// ...
When I start the script, the Initialize function isn't called, the script doesn't appear in the menu, commands don't work and so on.  However...  when I commented out the Name/PSM line, it works fine.  Also, changing "Name" to a different variable name also fixes the problem.  I don't know if it has something to do with another variable called "NAME" (used for my custom auto-updater), but I thought variable names were case sensitive.  :S

Edit: just noticed "Name" is highlighted blue in the snippet above (although it doesn't seem to highlight in the Plus! script editor, or in Notepad++).  Is it a reserved name for something?

This post was edited on 02-14-2011 at 03:50 PM by whiz.
02-14-2011 03:49 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Script menu not showing all scripts... - by whiz on 02-13-2011 at 05:19 PM
RE: Script menu not showing all scripts... - by CookieRevised on 02-14-2011 at 09:53 AM
RE: Script menu not showing all scripts... - by whiz on 02-14-2011 at 03:49 PM
RE: Script menu not showing all scripts... - by CookieRevised on 02-14-2011 at 04:27 PM
RE: Script menu not showing all scripts... - by whiz on 02-14-2011 at 06:45 PM
RE: Script menu not showing all scripts... - by CookieRevised on 02-14-2011 at 07:05 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