ID:266722
 
Is that possible?
IP? you mean the place where you connect from? I dunno, I would assume so.
Its a var, address var (client) or usr.client.address
Thief jack wrote:
Is that possible?

Sure it is.
verb/Who()
set src=usr
for(client/C in world)
usr << "[C.key][(usr.isadmin && C.client.address)?(" ([C.client.address])"):""]"

Lummox JR
In response to Lummox JR
It says C.client.address is an undefined var

        statpanel("Players")
for(var/client/C in world)
stat("[C.key][(C.client.address)?("([C.client.address])"):""]")

In response to Thief Jack
Thief jack wrote:
It says C.client.address is an undefined var

mob/Stat()
   statpanel("Players")
   for(var/mob/M in world)
      if(M.client)
         stat("[M.key] [M.client.address]")


Here is another way you can do it,
        statpanel("Players")
> for(var/client/C in world)
> stat("[C.key][(C.client.address)?("([C.client.address])"):""]")
In response to Thief Jack
Thief jack wrote:
It says C.client.address is an undefined var

Whoops. I guess it was too late at night when I ventured that one. C is already a client, so it should just be C.address.

Lummox JR
In response to Lummox JR
Doesn't work
In response to Lummox JR
Lummox JR wrote:
Thief jack wrote:
Is that possible?

Sure it is.
verb/Who()
> set src=usr
> for(client/C in world)
> usr << "[C.key][(usr.isadmin && C.client.address)?(" ([C.client.address])"):""]"

Lummox JR

Neeto i never knew that myself, Brilliant Lummox you helped more then the person who asked! O.o i got it to work, Thief if you need it ask me on BYOND, i don't want people knowing it on forums just to get people's ips such as "hackers"