Can you elaborate? From the docs:
If
string If[conditions,whentrue,whenfalse]
access to type(s): string
Performs Math.Calculate on conditions, gives whentrue if non-zero, gives whenfalse if zero
Examples
/docommand ${If[${Me.Sitting},/stand,/echo I am not sitting down]}
If I am sitting...