Skip to content

command

Justin Schwartz edited this page Jun 27, 2020 · 4 revisions

command

  • ACE Directive*

Defines a command and begins a command block. End the block with $#endcommand

Inside the block, define one function that is to be the registered command function.

You may also place string literals outside of the function block, these will be added to the help text for the command.

The command will automatically be registered and unregistered in the module code.

Valid Syntax

  • $#command scope names

Parameters

scope

global or arena. with global, registers this command on load for all arenas. with arena, registers this command on attach to an arena.

names

the names of the command, separated by commas.

for example the value "money,funds,m" creates one command with the main name ?money, and aliases ?funds and ?m

Clone this wiki locally