Documentation

Editing Aliases

When you select an Alias setting and open the advanced options panel at the bottom, you will get an editor panel like this:
Alias editor

Enabled
Determines if this alias is enabled or disabled.
Name
This is the name of the alias. This is the text that you would enter on the command line to call the alias script.
Script
This is the full script of the alias. See the Scripting topic for more information.
Language
Select the scripting language used for this alias. Built-in languages include: zScript, Lua, VBScript, and JavaScript. But any other scripting language installed into the Windows Scripting Host can also be used.
Script Text / XML / Compiled Code
Selecting the Compiled Code tab will show the low-level code generated by this alias. This is for internal testing purposes and is not documented further. Selecting the XML tab will allow you to edit the raw XML data used for copy/paste and import/export.  The Compiled Code tab is only shown when the Show Advanced Tabs option is enabled in the View menu.
Params
This allows you to specify Named Arguments for the alias. It is simply a list of the argument names, separated by commas. The $ character in front of the argument name is optional.
Auto append
When Auto-append is enabled, the arguments passed to the alias are automatically appended to the end of the text sent to the server.
Notes
Used to store comments with the alias. You might use this to remind yourself what the alias is used for.

See the Aliases topic for more information on using Aliases.

Add comment

Login or register to post comments