Thank you. I have tried to fit this code in with my code, but all I got was error messages when I tried to run the cartridge. I will try to describe in detail how I want it to be.
1. Initially, the task is not shown, i.e. not active.
2. The user comes to a zone where he chooses between several categories of tasks (which are fetched from input questions) by the use of commands.
3. The user chooses one of the commands, and the corresponding task is set to active. The question is thus prompted.
4a. If the user gives the correct answer, there is no problem, because there is no use for this task anymore.
4b. The problem is when the user gives the wrong answer. Then I want the task to be set to inactive without anything else happening.
5b. The user gave the wrong answer, so I need to be able to set the task to active again later in the game. In principle, this needs to work over and over again until the user gives the correct answer to that category.
This is basically a trivia-like Wherigo with the zones as the fields of a board game.