There's a slight difference if you're using SugarCube though. If you look on my posts you'll see my question about it, but using phone at the moment so can't answer fully.
@migueldeluis: I'm assuming that you're using one of the vanilla headers (e.g. Jonah, Sugarcane) for the story format. As far as I can tell from looking at its wiki page and the code, you must: [list type=decimal] Either specify the built-in button argument for one of the <<textinput>> macros on the page or supply a separate <<button>> macro. Use one of those buttons to navigate to the next passage. Navigating via any other means will not properly set the $variables. (This seems like a bizarre restriction to me, but whatever.)
For example:
Specify the built-in button argument for the <<textinput>> macro (if you have more than one, then the last one is a good candidate):
Comments
<<textbox>>
is the SugarCube text input macro. The vanilla headers use<<textinput>>
.@migueldeluis: I'm assuming that you're using one of the vanilla headers (e.g. Jonah, Sugarcane) for the story format. As far as I can tell from looking at its wiki page and the code, you must:
[list type=decimal]
Either specify the built-in button argument for one of the
<<textinput>>
macros on the page or supply a separate<<button>>
macro.Use one of those buttons to navigate to the next passage. Navigating via any other means will not properly set the
$variables
. (This seems like a bizarre restriction to me, but whatever.)For example:
Specify the built-in button argument for the
<<textinput>>
macro (if you have more than one, then the last one is a good candidate): Or use the separate<<button>>
macro: