help_ticket 
Vars | |
| admin_replied | Has the admin replied to this ticket yet? |
|---|---|
| closed_at | The time at which the ticket was closed |
| convert_cooldown | Prevents convert spam |
| id | Unique ID of the ticket |
| initiator | Initiator key name |
| initiator_client | It's the person who ahelped/was bwoinked |
| initiator_key | Initiator key. More stable |
| linked_admin | It's admin who linked to current ticket |
| messages | Collection of all ticket messages |
| opened_at | The time at which the ticket was opened |
| stat_name | Name used for stat panel |
| state | The current state of the ticket |
| ticket_autoclose_timer_id | ID for the autoclose timer |
| ticket_counter | Static counter used for generating each ticket ID |
| ticket_type | Cached ticket type datum instance |
| ticket_type_hidden | Hidden type. Used for chat messages |
| ticket_type_id | Ticket type id. Used for sorting Admin/Mentor tickets. |
| writers | List of all client keys who currently write to this ticket |
Procs | |
| convert | Converts ticket to ticket type specified type_to_convert_to |
| get_boxed_message_class | Returns boxed messaged class for this ticket |
| get_initiator_client | Return actual client of initiator_client persistent client |
| get_text_span_class | Returns boxed messaged class for this ticket |
| get_ticket_type | Returns ticket type datum instance |
| has_staff_access | Checks if the ticket can be converted by passed target |
| has_user_access | Checks if the ticket can be viewed and interacted by passed target |
| link_admin | Links passed admin to the ticket, if required permissions are present |
| send_creation_message | Notifies the staff about the new ticket, and sends a creation confirmation to the creator |
| set_ticket_type_id | Sets ticket_type_id and and updates ticket_type variable |
| type_to_convert_to | Returns type this help ticket can be converted to |
| unlink_linked_admin | Unlnks linked_admin from the ticket,
start autoclosure timer and notifies responsible admins |
Var Details
admin_replied 
Has the admin replied to this ticket yet?
closed_at 
The time at which the ticket was closed
convert_cooldown 
Prevents convert spam
id 
Unique ID of the ticket
initiator 
Initiator key name
initiator_client 
It's the person who ahelped/was bwoinked
initiator_key 
Initiator key. More stable
linked_admin 
It's admin who linked to current ticket
messages 
Collection of all ticket messages
opened_at 
The time at which the ticket was opened
stat_name 
Name used for stat panel
state 
The current state of the ticket
ticket_autoclose_timer_id 
ID for the autoclose timer
ticket_counter 
Static counter used for generating each ticket ID
ticket_type 
Cached ticket type datum instance
ticket_type_hidden 
Hidden type. Used for chat messages
ticket_type_id 
Ticket type id. Used for sorting Admin/Mentor tickets.
writers 
List of all client keys who currently write to this ticket
Proc Details
convert
Converts ticket to ticket type specified type_to_convert_to
get_boxed_message_class
Returns boxed messaged class for this ticket
get_initiator_client
Return actual client of initiator_client persistent client
get_text_span_class
Returns boxed messaged class for this ticket
get_ticket_type
Returns ticket type datum instance
has_staff_access
Checks if the ticket can be converted by passed target
has_user_access
Checks if the ticket can be viewed and interacted by passed target
link_admin
Links passed admin to the ticket, if required permissions are present
send_creation_message
Notifies the staff about the new ticket, and sends a creation confirmation to the creator
set_ticket_type_id
Sets ticket_type_id and and updates ticket_type variable
type_to_convert_to
Returns type this help ticket can be converted to
unlink_linked_admin
Unlnks linked_admin from the ticket,
start autoclosure timer and notifies responsible admins