MUDL:pc in area

From SlothMUD Wiki
Revision as of 23:59, 7 November 2018 by Teker (Talk | contribs) (Created page with " __TOC__ = Summary = {|class="abilitiestable" border="0" cellspacing="0" cellpadding="0" ! Function Name | pc_in_area |- ! Settable | No |- ! Returns | Character Array |}...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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