/tg/ Station 13 - Modules - TypesVar Details - Proc Details

saymode

Vars

allows_custom_say_emotesWhether this say mode works with custom say emotes.
keyThe symbol key used to enable this say mode.
modeThe corresponding say mode string.

Procs

can_be_used_byChecks whether this saymode can be used by the given user. May send feedback.
handle_messageHandles actually modifying or forwarding our message. Returns SAYMODE_[X] flags.

Var Details

allows_custom_say_emotes

Whether this say mode works with custom say emotes.

key

The symbol key used to enable this say mode.

mode

The corresponding say mode string.

Proc Details

can_be_used_by

Checks whether this saymode can be used by the given user. May send feedback.

handle_message

Handles actually modifying or forwarding our message. Returns SAYMODE_[X] flags.

user - The living speaking using this say mode. message - The message to be said. spans - A list of spans to attach to the message. language - The language the message was said in. message_mods - A list of message modifiers, i.e. whispering/singing.