@set ...

Can you do a @set in a line. Also can you do like a @set nesting in a line? I know these sentences are confusing but I'm confused too so.


You can @set in a few ways. I don't know which way you'll like best, but I use all of these for different reasons.

[[section 1]]:
@clear
@set dollars = 100  
You're reading section one. You have {label:1={dollars}} dollars{if wallet: in your wallet}.

{label:2=[Pick up the dollar on the floor.](@replace 2=You found a dollar on the floor!, dollars=101, @replace 1=101)}

{if wallet:}{else:[[Pick up the wallet on the floor.]](section 1, wallet)}

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

Support

Forums