Adminhelp Ticket
Vars | |
closed_at | The time at which the ticket was closed |
---|---|
heard_by_no_admins | If any admins were online when the ticket was initialized |
id | Unique ID of the ticket |
initiator | Semi-misnomer, it's the person who ahelped/was bwoinked |
initiator_ckey | The ckey of the initiator |
initiator_key_name | The key name of the initiator |
name | The current name of the ticket |
opened_at | The time at which the ticket was opened |
opening_responders | The list of clients currently responding to the opening ticket before it gets a response |
player_interactions | List of player interactions |
statclick | Statclick holder for the ticket |
state | The current state of the ticket |
ticket_counter | Static counter used for generating each ticket ID |
ticket_interactions | The collection of interactions with this ticket. Use AddInteraction() or, preferably, admin_ticket_log() |
webhook_sent | Whether this ahelp has sent a webhook or not, and what type |
Procs | |
New | Call this on its own to create a ticket, don't manually assign current_ticket |
ticket_status | Renders the current status of the ticket into a displayable string |
Var Details
closed_at
The time at which the ticket was closed
heard_by_no_admins
If any admins were online when the ticket was initialized
id
Unique ID of the ticket
initiator
Semi-misnomer, it's the person who ahelped/was bwoinked
initiator_ckey
The ckey of the initiator
initiator_key_name
The key name of the initiator
name
The current name of the ticket
opened_at
The time at which the ticket was opened
opening_responders
The list of clients currently responding to the opening ticket before it gets a response
player_interactions
List of player interactions
statclick
Statclick holder for the ticket
state
The current state of the ticket
ticket_counter
Static counter used for generating each ticket ID
ticket_interactions
The collection of interactions with this ticket. Use AddInteraction() or, preferably, admin_ticket_log()
webhook_sent
Whether this ahelp has sent a webhook or not, and what type
Proc Details
New
Call this on its own to create a ticket, don't manually assign current_ticket
Arguments:
- msg_raw - The first message of this admin_help: used for the initial title of the ticket
- is_bwoink - Boolean operator, TRUE if this ticket was started by an admin PM
ticket_status
Renders the current status of the ticket into a displayable string