I don't know Gamebook version that well, but it probably doesn't have a command bar, as it sounds like it doesn't, lol. (too lazy to start up a Gamebook game to see)
you might want to just use the Text Adventure version, as Gamebook is much more limited in what you can do with it.
Though, using a hybrid (a Text Adventure set up to work like a Gamebook), made by (thanks to) Pixie, is probably what you want:
viewtopic.php?f=18&t=4772you can try:
http://docs.textadventures.co.uk/quest/ ... quest.htmlrequest (Show, "Command")
------
also in your code, you got one spot with the '==', this isn't needed in quest, as Alex coded the quest engine to be able to use just '=' for (parsing) both such cases ( '=' and '==' ), so you also just use the '=' in quest.
----
in Gamebook version there are only two types of Objects:
'pageX' Page Objects and the special 'game' Game Object
there are NO Player Objects in the Gamebook version, such as the default 'player' Player Object that is in the Text Adventure. So, you can't use 'player' for your Object in Gamebook mode, use instead:
game.Attribute_name = Value_or_Expression
--------
P.S.
to use the code box tag for your posts content (such as game code or just long text walls, lol):
(this is really good for game code, as the code box will keep your indentation~nesting too)
[code.](your code, or a mass of text walls lol)[/code.]
but without the dots~periods in the brackets, which will produce this:
(your code, or a mass of text walls lol)