Allows players to send more visible adminhelps when no admins are on, which'll definitely alert admins (#62711)

Co-authored-by: Watermelon914 <3052169-Watermelon914@users.noreply.gitlab.com>
This commit is contained in:
Watermelon914
2021-11-20 03:06:50 -08:00
committed by GitHub
co-authored by Watermelon914
parent 25a30cc5e1
commit fb8d95a2f5
15 changed files with 319 additions and 43 deletions
+3
View File
@@ -32,6 +32,9 @@
var/externalreplyamount = 0
///Tracks say() usage for ic/dchat while slowmode is enabled
COOLDOWN_DECLARE(say_slowmode)
/// The last urgent ahelp that this player sent
COOLDOWN_DECLARE(urgent_ahelp_cooldown)
/////////
//OTHER//
/////////
+4
View File
@@ -100,6 +100,10 @@ GLOBAL_LIST_INIT(blacklisted_builds, list(
if(href_list["priv_msg"])
cmd_admin_pm(href_list["priv_msg"],null)
return
// TGUIless adminhelp
if(href_list["tguiless_adminhelp"])
no_tgui_adminhelp(input(src, "Enter your ahelp", "Ahelp") as null|message)
return
switch(href_list["_src_"])
if("holder")