Command

From Soldat Community Wiki
Revision as of 09:32, 15 August 2012 by Freeman (talk | contribs) (Created page with "===From the Scripting Manual=== ''function Command(Cmd: string): variant;'' '''Parameter Info:''' Cmd (String): Admin Command to be executed on the server. '''Descrip...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

From the Scripting Manual

function Command(Cmd: string): variant;

Parameter Info:
 Cmd (String): Admin Command to be executed on the server.

Description:
 This function will execute a regular / command. See the Soldat Manual for a list of commands.
 Some commands will have a return variable.

Command                     Type

/respawntime                Integer
/maxrespawntime Integer
/limit Integer
/bonus Byte
/timelimit Integer
/maxplayers Byte
/friendlyfire Byte
/vote% Byte
/realistic Byte
/survival Byte
/advance Byte
/balance Byte
/addbot Byte (ID of added bot)

Examples

Command('/say Hello World');


External Links