Skip to content
This repository was archived by the owner on Jun 14, 2019. It is now read-only.

Add command function

Andre Sieverding edited this page Jun 12, 2014 · 2 revisions

(ChatCommands >= 0.2.0)

ChatCommands\main::add_command( string $command )

$command = The new command.

Return values

Returns FALSE on failure.

Little example:

<?php
	ChatCommands\main::add_command('lock');
?>
Clone this wiki locally