What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Help creating my first script

Help creating my first script
Author: Message:
Aeryn
Full Member
***

Avatar

Posts: 230
Reputation: 28
– / Female / –
Joined: Jun 2005
Status: Away
RE: Help creating my first script
You're using the variable contactsname inside the flash() function while it was defined inside the OnEvent_Initialize function. If you define a variable inside a function it means that it's a local variable, and it won't exist outside of the function it was declared in. It won't exist inside flash().

To fix this, declare contactsname outside of all functions with the "var" keyword and don't use "var" inside OnEvent_Initialize.

This post was edited on 07-22-2006 at 09:31 PM by Aeryn.
07-22-2006 09:28 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Help creating my first script - by edmarriner on 07-22-2006 at 05:31 PM
RE: Help creating my first script - by foaly on 07-22-2006 at 05:43 PM
RE: Help creating my first script - by Pai on 07-22-2006 at 05:51 PM
RE: Help creating my first script - by edmarriner on 07-22-2006 at 06:27 PM
RE: Help creating my first script - by The_Joker on 07-22-2006 at 06:32 PM
RE: Help creating my first script - by edmarriner on 07-22-2006 at 06:33 PM
RE: Help creating my first script - by The_Joker on 07-22-2006 at 06:38 PM
RE: Help creating my first script - by 4penguino on 07-22-2006 at 06:50 PM
RE: Help creating my first script - by Silentdragon on 07-22-2006 at 07:00 PM
RE: Help creating my first script - by Aeryn on 07-22-2006 at 09:28 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