General
Scripting in Arcana
Arcana can remember and react. Variables hold values you set and use in your commands, the /js line runs a script, and event triggers fire on what happens in the game instead of on matching text.
The Scripting page in the website's Arcana menu explains each with examples.
The command line also keeps the last 5,000 commands of each character between connections. Type the start of a command and press Up to find the last time you used it.