Admin ticket system (for real this time)

This commit is contained in:
Anewbe
2018-10-09 16:31:01 -04:00
committed by VirgoBot
parent ec3fb80f97
commit e4660c5838
21 changed files with 1100 additions and 140 deletions
+1
View File
@@ -12,6 +12,7 @@
var/last_message = "" //Contains the last message sent by this client - used to protect against copy-paste spamming.
var/last_message_count = 0 //contins a number of how many times a message identical to last_message was sent.
var/ircreplyamount = 0
/////////
//OTHER//
+4 -1
View File
@@ -57,7 +57,7 @@
if(mute_irc)
usr << "<span class='warning'You cannot use this as your client has been muted from sending messages to the admins on IRC</span>"
return
cmd_admin_irc_pm(href_list["irc_msg"])
send2adminirc(href_list["irc_msg"])
return
@@ -111,6 +111,8 @@
clients += src
directory[ckey] = src
GLOB.ahelp_tickets.ClientLogin(src)
//Admin Authorisation
holder = admin_datums[ckey]
if(holder)
@@ -178,6 +180,7 @@
if(holder)
holder.owner = null
admins -= src
GLOB.ahelp_tickets.ClientLogout(src)
directory -= ckey
clients -= src
return ..()