It looks like you're new here. If you want to get involved, click one of these buttons!
[[Hey.|Punch][set $X to 0]]
[[Hello.|Punch][set $X to 1]]
Which takes us to:
<<if $X eq 0>>Get punched!<<endif>>
<<if$X eq 1>>Get kissed!<<endif>>
Trouble is the variable always stays at 0. The first line is always displayed.
Comments
set
" from the setter portion of the link, it doesn't belong. For example: You can also clean up your<<if>>
macro usage, especially if $X will only have two states. For example:<<if>>
macro usage, especially if $X will only have two states. For example:BOOM. Thank you very much.