RemoveCommandHandler: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
__NOTOC__ | |||
This function removes a command handler, that is one that has been added using addCommandHandler. | |||
__NOTOC__ | |||
This | |||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
bool removeCommandHandler ( string | bool removeCommandHandler ( string commandName ) | ||
</syntaxhighlight> | </syntaxhighlight> | ||
===Required Arguments=== | ===Required Arguments=== | ||
*''' | *'''key:''' description | ||
===Optional Arguments=== | ===Optional Arguments=== | ||
Line 30: | Line 28: | ||
==See Also== | ==See Also== | ||
{{ | {{Server_Functions}} | ||
[[Category:Incomplete]] |
Revision as of 14:07, 25 May 2006
This function removes a command handler, that is one that has been added using addCommandHandler.
Syntax
bool removeCommandHandler ( string commandName )
Required Arguments
- key: description
Optional Arguments
NOTE: When using optional arguments, you might need to supply all arguments before the one you wish to use. For more information on optional arguments, see optional arguments.
- argumentName2: descriptiona
- argumentName3: description
Returns
Returns true if blah, false otherwise.
Example
This example does...
--This line does... blabhalbalhb --abababa --This line does this... mooo