Is there some other way I can define a group of mobs into a list variable without using for( )
my uses have been as such...
mob
verb
Who()
src<<"Players online:"
for(var/mob/m in world)
src<<"[m.name]"
Is there any way I can get this same effect without ever using for( )? Or am I doomed to have a bunch of infinite loops running around in my game?
(Note: I've also tried var/mob/m = locate(/mob/ in world) but that only brings up one mob each time, I need all the ones online. [I use if(m.client) to keep the NPC's out of that])
Then you would only loop through a list instead of looping through the world.contents.