MUDL:pc in area

From WikiName
Jump to: navigation, search


Summary

Function Name pc_in_area
Settable No
Returns Character Array


Parameter Options
Area


This function returns a list of all PCs in the specified area (including immortals).


Example

setproc <parent> # on_foo
foreach(pc_in_area(%area), %9,
(
    msg_room(%room, name(%9))
)),

return(true)
@


setproc <parent> # PROC_ENABLED 1