Command

From Soldat Community Wiki
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