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

Elseif?
Author: Message:
deAd
Scripting Contest Winner
*****

Avatar

Posts: 1060
Reputation: 28
– / Male / Flag
Joined: Jan 2006
RE: RE: Elseif?
quote:
Originally posted by Dennis Mike
f(color == 'red'){
Debug.Trace("red")
}
elseif(color == 'blue')
{
Debug.Trace("blue")
}
elseif(color == 'green')
{
Debug.Trace("green")
}

that won't work... A switch statement would be good for this, but if you want to use an if statement it would be something like this (this is shortened):
code:
if(color == "red"){
// color is red
} else if(color == "blue"){
// color is blue
}
05-09-2007 10:12 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Elseif? - by Pizzaboy861 on 05-09-2007 at 04:48 PM
RE: Elseif? - by Felu on 05-09-2007 at 04:52 PM
RE: Elseif? - by Adeptus on 05-09-2007 at 06:37 PM
RE: Elseif? - by Dennis Mike on 05-09-2007 at 09:30 PM
RE: RE: Elseif? - by deAd on 05-09-2007 at 10:12 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