ID:149464
 
How would I go about creating a proc that would tell you a mob is in a room? I'm making a MUD and I'm trying to make it so if there's a mob(npc) in the room it will do something like this: "There is fierce a goblin amidst us, stand your ground."

And say that maybe every 10 seconds?

Help is greatly appreciated.
verb/check_room()
for(mob/M in loc.loc)
if(M!=usr)usr<<"There is a [M] in here!"
area
room1
room2

Just fill your rooms up with different areas and use this example as a guide.