What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » If Else ..

If Else ..
Author: Message:
Feonx
New Member
*


Posts: 2
Joined: Jul 2006
O.P. If Else ..
Hi,

Today I where trying to use If / else in my script but can't get it running. It says:

quote:
Error message:
> Error found at line 16: Excpected ';'.
  (Code: -2146827284)

And my code is:
code:
function OnEvent_Signin(Email)
{
    If(Email == 'feonx@tvdkwebdesign.nl') {  //<-- line 16
        MsgPlus.DisplayToast('', 'Feons Logged In!');
    }
}


I have seen a code that looks like this one in other script to :(
What did I do wrong! Can someone help me?

Tnx.

Gr Feonx
07-26-2006 03:04 PM
Profile E-Mail PM Find Quote Report
Mnjul
forum super mod
******

Avatar
plz wub me

Posts: 5396
Reputation: 58
– / Other / Flag
Joined: Nov 2002
Status: Away
RE: If Else ..
You need to use if (all letters are lower-case) :)

This post was edited on 07-26-2006 at 03:08 PM by Mnjul.
07-26-2006 03:08 PM
Profile PM Web Find Quote Report
Feonx
New Member
*


Posts: 2
Joined: Jul 2006
O.P. RE: If Else ..
Thank u,

It works..
07-26-2006 04:28 PM
Profile E-Mail PM 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