Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:1.00

Description

Description:Executes multiplayer server commands (see Server Administration Commands in the VBS3 Administrator Manual) on the server.

If used in singleplayer or in multiplayer, but without the required privileges (player is not an administrator), nothing happens. This situation can be checked beforehand, using serverCommandAvailable.

Syntax

Syntax:serverCommand command
Parameters:
  • command : String - Server command to execute.
Return Value:Nothing

Examples

Examples: serverCommand "#userlist"

Additional Information

See also: serverCommandAvailable
Multiplayer:
Problems:

Notes