Hello, It is Me Again asking a stupid question.
>How do I add a Password System on Twine 1 with Sugarcube-2
My Old Code:
<<set $answer = prompt ("Please Input A Password To Continue.")>>
<<if ($answer is "butimletired")>>Debug
<<else if ($answer is "0100000101110010011010010111001101100001")>><< Secertroute
<<else if ($answer is "IHATETHISGAME")>><< Commentary
Worked Under Sugar Cane. I recently moved on to Sugarcube-2 and the now it leaves me with this error:
ERROR: <<if>>: <<else>> must be a final clause.
I assumed it meant change <<endif>> to <</if>> but it still shows up.
This is might be tricky, but I want a variable that asks for your age. if your age is under 18 it will kick you back to Start
or even exit the game