mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-28 23:59:40 +01:00
Tickets System
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
/obj/screen/alert/open_ticket
|
||||
icon = 'modular_chomp/icons/logo.dmi'
|
||||
name = "Admin Chat Request"
|
||||
desc = "A Administrator would like to chat with you. \
|
||||
Click here to begin."
|
||||
icon_state = "32x32"
|
||||
var/clicked_once = FALSE
|
||||
|
||||
/obj/screen/alert/open_ticket/Click()
|
||||
if(!usr || !usr.client) return
|
||||
|
||||
// Open a new chat with the user
|
||||
var/datum/ticket_chat/TC = new()
|
||||
TC.T = usr.client.current_ticket
|
||||
TC.tgui_interact(usr.client.mob)
|
||||
|
||||
desc = "A Administrator would like to chat with you. \
|
||||
Click here to continue the conversation."
|
||||
Reference in New Issue
Block a user