Fix lack of feedback when users try to reach admins (#22783)

* Players can now see afk mins

It's important that players know ahead of time that their ahelps are not
reaching someone who is currently active

* Add feedback for the player when adminhelping about how many admins saw
their message
This commit is contained in:
oranges
2017-01-12 21:36:46 +13:00
committed by AnturK
parent de454f5a35
commit e5b224fb96
2 changed files with 5 additions and 1 deletions
+3 -1
View File
@@ -126,6 +126,8 @@
//send it to irc if nobody is on and tell us how many were on
var/admin_number_present = send2irc_adminless_only(ckey,original_msg)
log_admin("HELP: [key_name(src)]: [original_msg] - heard by [admin_number_present] non-AFK admins who have +BAN.")
if(admin_number_present <= 0)
src << "<span class='notice'>No active admins are online, your adminhelp was sent to the admin irc.</span>"
feedback_add_details("admin_verb","AH") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
return
@@ -184,4 +186,4 @@
msg += "(AFK)"
msg += ", "
return msg
return msg