How do you say "if attribute is not equal to"?
bgbg
02 Feb 2016, 21:24This seems like it should be simple, but nothing I'm trying is working. The documentation says you can display text conditionally like this:
But how do you negate it? None of the following seem to work:
{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
04 Feb 2016, 07:09I don't know squiffy but perhaps you can do this:
{if current_room = Yard: }{else :You're not in the yard.}
bgbg
04 Feb 2016, 16:56That seems to work. Thank you!