This is actually similar to javascript's "OR" operator(not to be confused with operand).

I believe what Raccoon is asking for is something that does "first non-null/0/false" assignment.

Code:
var %a = $false||0||$null|hi
//this is true
if (%a === hi) return $true



edit: nvm. after rereading the OP, it seems he wants to assign an alternative value if none is specified

Last edited by FroggieDaFrog; 03/05/13 08:22 PM.

I am SReject
My Stuff