mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 20:48:56 +01:00
Merge pull request #20065 from Shadowlight213/ircsay
Adds adds the ability to get a list of admins and their status from irc.
This commit is contained in:
@@ -170,3 +170,18 @@
|
||||
message["crossmessage"] = type
|
||||
|
||||
world.Export("[global.cross_address]?[list2params(message)]")
|
||||
|
||||
|
||||
/proc/ircadminwho()
|
||||
var/msg = "Admins: "
|
||||
for(var/client/C in admins)
|
||||
msg += "[C] "
|
||||
|
||||
if(C.holder.fakekey)
|
||||
msg += "(Stealth)"
|
||||
|
||||
if(C.is_afk())
|
||||
msg += "(AFK)"
|
||||
msg += ", "
|
||||
|
||||
return msg
|
||||
Reference in New Issue
Block a user