How do you say "if attribute is not equal to"?

bgbg
This seems like it should be simple, but nothing I'm trying is working. The documentation says you can display text conditionally like this:

{if gender=male:You are a man.}{else:You are a woman.}



But how do you negate it? None of the following seem to work:

{if current_room not = Yard: You're not in the yard.}

{if not current_room = Yard: You're not in the yard.}

{if current_room != Yard: You're not in the yard.}

Pertex
I don't know squiffy but perhaps you can do this:
{if current_room = Yard: }{else :You're not in the yard.}

bgbg
That seems to work. Thank you!

This topic is now closed. Topics are closed after 180 days of inactivity.

Support

Forums