Adminhelp prompts will now be larger to allow you to proofread large responses and PMs (#345)

* bigger box

* even bigger

well not really, but it's better anyway

* fuck i didn't tick these

* bigger /me input

double emote size as well, stop complaining about cutoffs and don't make
me regret this

* cleanup
This commit is contained in:
TalkingCactus
2017-04-09 05:53:44 -04:00
committed by GitHub
parent aa5cc241f7
commit 89a99d78d1
5 changed files with 33 additions and 14 deletions
+15
View File
@@ -45,6 +45,21 @@
log_admin_private("[key_name(usr)] marked [C.key]'s admin help as an IC issue.")
spamcooldown = world.time + 150 // 15 seconds
else if(href_list["markedread"])
if(world.time && spamcooldown > world.time)
to_chat(usr, "Please wait [max(round((spamcooldown - world.time)*0.1, 0.1), 0)] seconds.")
return
var/client/C = locate(href_list["markedread"]) in clients
if(!C)
return
var/msg = "<font color='green' size='2'><b>Your Adminhelp has been marked as read and is under investigation.</b></font>"
to_chat(C, msg)
message_admins("[key_name_admin(usr)] marked [C.key]'s admin help as read and under investigation.")
log_admin_private("[key_name(usr)] marked [C.key]'s admin help as read and under investigation.")
spamcooldown = world.time + 150 // 15 seconds
else if(href_list["stickyban"])
stickyban(href_list["stickyban"],href_list)