/datum/cmtv_command 
Vars | |
| description | Helptext of the command. Keep it short, we've only got 500 characters to play with. |
|---|---|
| global_cooldown_time | How long the cooldown must be which applies to everyone, other than moderators |
| name | What must be invoked in chat to trigger this |
| require_moderator | If this command requires being a moderator to invoke |
| successful | If the /datum/cmtv_command/proc/execute function determines no cooldown should be applied, this should be toggled to false. For instance, when a command fails. |
| user_cooldown_time | How long the personal cooldown is which applies to individuals, other than moderators |
Procs | |
| execute | The actual execution of the command. The returned text is what will be displayed in chat. |
Var Details
description 
Helptext of the command. Keep it short, we've only got 500 characters to play with.
global_cooldown_time 
How long the cooldown must be which applies to everyone, other than moderators
name 
What must be invoked in chat to trigger this
require_moderator 
If this command requires being a moderator to invoke
successful 
If the /datum/cmtv_command/proc/execute function determines no cooldown should be applied, this should be toggled to false. For instance, when a command fails.
user_cooldown_time 
How long the personal cooldown is which applies to individuals, other than moderators
Proc Details
execute
The actual execution of the command. The returned text is what will be displayed in chat.