Hi guys! Another quick question, if anyone can help:
I'm making use of Emily Short's menu system, and am making a Setting Options section. Using the code sample in Inform 7's documentation, I added the Notify Mode for notifying the player of score changes, and thought, another setting that could be useful is having the Verbose mode turn on or off. (I usually prefer to have it on, myself)
This is how my Table of Setting Options looks:
Table of Setting Options
title subtable description toggle
"[if notify mode is on]Score notification is on[otherwise]Score notification is off[end if]" -- -- switch notification status rule
"[if verbose mode is on]Verbose is on[otherwise]Verbose is off[end if]" -- -- switch verbose mode status rule
I tried copying the score notification, but changing the wording:
To decide whether verbose mode is on:
(- verbose_mode -) ;
This is the switch verbose mode status rule:
if verbose mode is on, try switching brief mode on;
otherwise try switching verbose mode on.
I'm not sure what the correct wording for handling verbose and brief modes is. This brings up these errors:
Problem. You wrote 'if verbose mode is on, try switching verbose mode off' : but this is not an action I recognise, or else is malformed in a way I can't see how to untangle.
Problem. You wrote 'otherwise try switching verbose mode on' : again, this is not an action I recognise.
Any advice would help