I cannot figure out how to use <<switch>> in Sugarcube 2.0
Everytime I try, I get "Error: macro <<switch>> does not exist" followed "Error: macro <<case>> does not exist". I have no idea what I'm doing wrong. Here's a code sample.
Everytime I try, I get "Error: macro <<switch>> does not exist" followed "Error: macro <<case>> does not exist". I have no idea what I'm doing wrong. Here's a code sample.
Enter player name: <<textbox "$player.name" "" autofocus>> Choose your pronoun: <<switch $pronoun>> <<case "he, his">> <<set $player.pronoun to 1>> <<case "she, her">> <<set $player.pronoun to 2>> <<case "they, theirs">> <<set $player.pronoun to 3>> <</switch>>Please advise