case

Syntax: %case(i,s1,s2,s3...)

if I=1, return s1, if I=2, return s2, etc.

Example:

#VAR Greeting %case(%random(1,4),"Hi","Hello","Hiya","Hail")

Assigns a random greeting to the Greeting variable



Contents %btnimage %char