%filterNotInRoom()

Aliases%filterNotInRoom( )
Parametersarray @anArray, mixed @room1 [, mixed @room2 [, mixed @room3 [, ...] ] ]

    This function will reduce an array of objects or mobiles to only
those entries that are NOT found in the same room location as one
of the @room parameters. A room parameter can be an explicit room
ID. It can also be a room, mobile, or item in which case the room,
mobile, or item's current room location will be matched.

Example:

@members = %partyGetMobs( @victim )
@targets = %filterNotInRoom( @members, @victim )