Quantcast
Channel: Twine Forum
Viewing all articles
Browse latest Browse all 3830

Sugarcube text box woes

$
0
0
I am having some issues with the SugarCube 1 Textbox macro:
:access main security

Enter day number (0-100) to view logs. Current day is $time.  Click outside to close.
<<textbox "$access" "" "Access Main Security 2" autofocus>>

:Access Main Security 2

<<if $access is "0">>Stuff<<else>>ACCESS DENIED<</if>>

...gives ACCESS DENIED instead of stuff when I enter "0". What am I doing wrong?

Viewing all articles
Browse latest Browse all 3830

Latest Images

Trending Articles



Latest Images