Basic commands

The following commands, that I've decided to name "basic commands", will be useful for the other commands. You will be able to put your commands into keyboard shortcuts, and cancel or redo some, that being an excellent support for mapping.
  • -assign (as) ‹shortcut› ‹command›
    Puts the quoted command or group of commands (starting from the second parameter) in the keyboard shortcut of your choice. Warning, you must not put "-" in the name of this command. Shortcuts work only if the hero is alive and selected. To save a group of commands, use parenthesis.
    Examples
    -assign S stop
    -as a ss 550
    -as r (red, vc 100 0 0)
  • -unassign (uas) ‹shortcut›
    Removes the command or the group of commands of a keyboard shortcut, previously set with "assign" command.
    Examples
    -unassign A
    -uas z
  • -displayShortcuts (ds)
    Displays the commands associated with your shortcuts.
    Examples
    -displayShortcuts
    -ds
  • -cancel (z)
    Cancels the last action made on the map. Doesn't work for all "make" commands.
    Examples
    -cancel
    -z
  • -redo (y)
    Redoes the last cancelled action with the "cancel" command. Some actions can't be redone because of being "obsolete". This happens in case of level changing, for example you can't redo cancelled monsters and you can't redo monsters being removed with "delm" or "delmbp" command (they are definitely removed).
    Examples
    -redo
    -y
  • -saveCommand (sc) ‹commandLabel› ‹command›
    Save a command or a group of commands into a name of your choice. To save a group of commands, use parenthesis. Don't type the "-" of the command you want to save.
    Examples
    -saveCommand rouge red
    -sc imbaSkin (gy, vc 80 80 100, ef l)
  • -executeCommand (ec) ‹commandLabel›
    Execute a command you saved with "saveCommand".
    Examples
    -executeCommand rouge
    -ec imbaSkin
  • -stop (s)
    Stops creating monsters or terrain or casters or terrain height, or stops the getTerrainInfo mode, etc. In fact it stops every mode where a right click is waited.
    Examples
    -stop
    -s