Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/tgs_chat_command

User definable chat command

Vars

admin_only_goon_sucksIf this command should be available to game administrators only
help_textThe help text displayed for this command
nameThe string to trigger this command on a chat bot. e.g @bot name ... or !tgs name ...

Procs

RunProcess command activation. Should return a string to respond to the issuer with.

Var Details

admin_only_goon_sucks

If this command should be available to game administrators only

help_text

The help text displayed for this command

name

The string to trigger this command on a chat bot. e.g @bot name ... or !tgs name ...

Proc Details

Run

Process command activation. Should return a string to respond to the issuer with.

sender - The /datum/tgs_chat_user who issued the command. params - The trimmed string following the command `/datum/tgs_chat_command/var/name].