When using a command that requires you to provide a numerical value, such as if and set, the following values may be used.
| Constant | Value |
|---|---|
| scenery | 100 |
| heavy | 99 |
| true | 1 |
| false, nowhere or null | 0 |
| status_width | Set to the number of columns the status window is currently displaying. |
| status_height | Set to the number of rows the status window is currently displaying. |
| objects | Set to the number of objects defined in the game. |
| interpreter | Set to the interpreter type that is currently running the game, one of GLK (Glk-windowed; bin/jacl and bin/cjacl), CGI (web; bin/cgijacl and bin/fcgijacl), or NDS (Nintendo DS build). |
| jacl_version, jacl_release, jacl_build | Set to the major version, release and build numbers of the running interpreter. Useful in +intro for compatibility checks more precise than internal_version. |
| random | Set to a random number between 1 and the current value of the variable max_rand. By default, max_rand is set to 100. |
| unixtime | Set to the current time, expressed as an integer representing the number of seconds since midnight on the 1st of January 1970. |
Listed here are the only in-game commands that are internal to the interpreter. All other commands to be interpreted during the course of the game must be defined as a grammar statement in the game code.
| Command | Description |
|---|---|
| restart | Will cause the JACL interpreter to ask the user if they are sure, restarting the game from the beginning if they answer yes, returning to the game if they answer no. |
| info | Will display the version information of the JACL interpreter that you are running and the maximum number of items it was compiled to handle. This limit may be increased by changing the MAX_OBJECTS define statement in the file constants.h then re-compiling the interpreter. The synonym version is also accepted. |
| oops [ReplacementWord] | Replaces the most likely incorrect word in the player's last command with the supplied replacement word. |
| script | Will cause the current game session to be recorded to the file specified at the ensuing prompt. The synonym transcript is also accepted. |
| unscript | Stop a previously started transcript. |
| again | This command repeats the player's last move. |
| undo | Will cause the game to revert to the state it was in before the previous command. |
| quit | This will cause the JACL interpreter to ask the user if they are sure, closing the interpreter if they answer yes, returning to the game if they answer no. |