AddMsgBoardCmd

Category: Interface
Since engine version: 1.0 OC

Description

Creates a user-defined messageboard command. This command can be entered by any player using the syntax "/[command]" in the message board. This will execute the defined script. The script can use "%s" to incorporate parameters.

Syntax

int AddMsgBoardCmd(string command, string script);

Parameters

command:
Name of messageboard command
script:
Script to be executed
PeterW, 2003-06