ID:177232
![]() Oct 10 2002, 2:42 pm
|
|
It would really help me out a lot if I knew how to make a who proc for my browser. Sort've like when you log in and a browser pops up with a bunch of options that say, "Log into game", "See who's online", ect.. So how could I make it show everybody that's online on the browser popup? Oh well, I hope somebody answers me. :P
|
Copyright © 2025 BYOND Software.
All rights reserved.
var/html = "--WHO'S LOGGED ON?--/n"
for(var/client/C in world)
html += "- [C]"
if(C.mob.name != C.key) html += " ([C.mob.name])"
html += "\n"
src << browse(html)
That should work alright for you, I think. I just forget whether it's /n or \n, so if it isn't making new lines properly switch the forward slash to a backslash. Good luck!