Space Station 13 - Modules - TypesVar Details - Proc Details

tickets

Vars

anchor_link_extraText that will be added to the anchor link
db_save_idDB ID for these tickets to be logged with
open_detail_uisWho has what tickets open? Maps client -> open ticket number.
other_ticket_nameThe name of the other ticket type to convert to
other_ticket_permissionWhich permission to look for when seeing if there is staff available for the other ticket type

Procs

makeUrlMessageWill add the URLs usable by staff to the message and return it Arguments: C - The client who send the message msg - The raw message ticketNum - Which ticket number the ticket has
message_staffSends a message to the designated staff Arguments: msg - The message being send alt - If an alternative prefix should be used or not. Defaults to TICKET_STAFF_MESSAGE_PREFIX important - If the message is important. If TRUE it will ignore the CHAT_NO_TICKETLOGS preferences, send a sound and flash the window. Defaults to FALSE
newHelpRequestWill either make a new ticket using the given text or will add the text to an existing ticket. Staff will get a message Arguments: C - The client who requests help text - The text the client send

Var Details

Text that will be added to the anchor link

db_save_id

DB ID for these tickets to be logged with

open_detail_uis

Who has what tickets open? Maps client -> open ticket number.

other_ticket_name

The name of the other ticket type to convert to

other_ticket_permission

Which permission to look for when seeing if there is staff available for the other ticket type

Proc Details

makeUrlMessage

Will add the URLs usable by staff to the message and return it Arguments: C - The client who send the message msg - The raw message ticketNum - Which ticket number the ticket has

message_staff

Sends a message to the designated staff Arguments: msg - The message being send alt - If an alternative prefix should be used or not. Defaults to TICKET_STAFF_MESSAGE_PREFIX important - If the message is important. If TRUE it will ignore the CHAT_NO_TICKETLOGS preferences, send a sound and flash the window. Defaults to FALSE

newHelpRequest

Will either make a new ticket using the given text or will add the text to an existing ticket. Staff will get a message Arguments: C - The client who requests help text - The text the client send