Script:Commands

From Arx Libertatis Wiki
Revision as of 21:13, 14 November 2012 by Ds (talk | contribs) (Created page with " == Syntax == commandname [-flags] [parameters...] All underscores in the command name are ignored: <code>_a_cool__c_o_m_m_a_n_d</code> and <code>acoolcommand</code> call t...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Syntax

commandname [-flags] [parameters...]

All underscores in the command name are ignored: _a_cool__c_o_m_m_a_n_d and acoolcommand call the same command.

Flags

Script commands can accept an optional set of flags. Each flag is a single character and the order of the flags doesn't matter. Flags always come before all other parameters.

Parameters

The number of parameters a command is fixed fixed for each set of flags.