tickets
Vars | |
anchor_link_extra | 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 |
Procs | |
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 |
Var Details
anchor_link_extra
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