Console commands

Posted by Kyle Hankinson August 5th, 2022


Commands

#clearMessages

Clears anything currently in the messages window.

#clearOutput

Removes the main output buffer.

#autocomplete list

Displays a list of current autocomplete entries.

#autocomplete clear

Clears the autocomplete entries.

#vars

Displays a list of current script variables.

#disconnect

Disconnects from the current session. If auto-reconnect is enabled, a countdown will be started and the connection re-attempted.

#close

Disconnects the current connection and closes the window.

#set VARIABLE=VALUE

Sets the specified varaible to the specified value.

#stop

Stops any activly waiting scripts. Scripts may be in a waiting state from either a wait or a commandAndReadFromServer function.

#enable name

Enables a trigger or alias by name (not case sensitive) and saves the change.

#disable name

Disables a trigger or alias by name (not case sensitive) and saves the change.

#status name

Shows whether the named trigger or alias is currently enabled or disabled.

#reload

Reloads all triggers, aliases, and scripts from disk and reports how many of each were loaded. Run this after editing a script so your triggers and aliases pick up the new code.

#setAlias name=command

Creates or updates an alias, mapping name to command, and saves it.

#continue

Resumes any scripts that are paused in a wait.

#gmcp

Prints all current GMCP values as formatted JSON, handy when writing GMCP-aware scripts.


Tags: Scripting