Merge pull request #7026 from ShadowLarkens/admin_utilities_and_niceities

Added three utilities for admins & developers
This commit is contained in:
Aronai Sieyes
2020-03-27 22:30:21 -04:00
committed by GitHub
6 changed files with 54 additions and 4 deletions
+2 -1
View File
@@ -14,7 +14,8 @@
if( (client.connection != "web") && (M.computer_id == client.computer_id) )
if(matches) matches += " and "
matches += "ID ([client.computer_id])"
spawn() alert("You have logged in already with another key this round, please log out of this one NOW or risk being banned!")
if(!config.disable_cid_warn_popup)
spawn() alert("You have logged in already with another key this round, please log out of this one NOW or risk being banned!")
if(matches)
if(M.client)
message_admins("<font color='red'><B>Notice: </B></font><font color='blue'>[key_name_admin(src)] has the same [matches] as [key_name_admin(M)].</font>", 1)