Files
Aurora.3/code/game/verbs/who.dm
mport2004@gmail.com c526717fbf Cleaned up:
Flashlights
Cigs/lighters
Solars

RCDs can no longer build airlocks on doors
Airlocks  now smash glass that is under them when they close
AI sat firewall that is not really quite a firewall removed
The solars will no longer update if they lack a controler
Cut down on machines that don't actually do anything like fake sleepers and shuttle engines
There is still a few shuttle engines around and I have no idea where, my map was already corrupted once by this so I am just leaving the define in for now.

After a talk with some of the head coders
Cyborgs can no longer be traitors at round start
Some of the off Z1 areas cleaned up


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2028 316c924e-a436-60f5-8080-3fe189b3f50e
2011-08-20 04:30:37 +00:00

47 lines
1.1 KiB
Plaintext

/mob/verb/who()
set name = "Who"
set category = "OOC"
usr << "<b>Current Players:</b>"
var/list/peeps = list()
if (config.enable_authentication)
for (var/mob/M in world)
if (!M.client)
continue
if (M.client.authenticated && M.client.authenticated != 1)
peeps += "\t[M.client] ([html_encode(M.client.authenticated)])"
else
peeps += "\t[M.client]"
else
for (var/mob/M in world)
if (!M.client)
continue
if (M.client.stealth && !usr.client.holder)
peeps += "\t[M.client.fakekey]"
else
peeps += "\t[M.client][M.client.stealth ? " <i>(as [M.client.fakekey])</i>" : ""]"
peeps = sortList(peeps)
for (var/p in peeps)
usr << p
usr << "<b>Total Players: [length(peeps)]</b>"
/client/verb/adminwho()
set category = "Admin"
set name = "Adminwho"
usr << "<b>Current Admins:</b>"
for (var/mob/M in world)
if(M && M.client && M.client.holder && M.client.authenticated)
if(usr.client.holder)
usr << "[M.key] is a [M.client.holder.rank][M.client.stealth ? " <i>(as [M.client.fakekey])</i>" : ""]"
else if(!M.client.stealth)
usr << "\t[M.client]"