AdvancedConditionalWML

From Wesnoth

Example 1:

[(a&&b)||(c&&d)] 
[if]
 #a
 #b
 [or]
  #c
  #d
 [/or]
[then]
 #insert code
[/then]
[/if]

Example 2:

[(a&&b)||(c&&(!e))] 
[if]
 #a
 #b
 [or]
  #c
  [not]
   #e
  [/not]
 [/or]
[then]
 #insert code
[/then]
[/if]

See Also

This page was last modified 19:27, 21 February 2008.