GALiRe
GScript command (if, else if, else)




Function:
Tests if what is between the parenthesis is true and, if so, executes what is within the braces. i.e. -
if($userName endsWith("c")) {
alert("Name ends with a 'c'!"); }

This works outside of GALiRe Script, as long as it is within an event tag (ex. onLoad:;).