%filterId()

Aliases%filterId( )
Parametersarray @anArray, integer @id1 [, integer @id2 [, integer @id3 [, ...] ] ]

    This function will reduce an array of objects, mobiles, or rooms to only
those entries that match one of the specified IDs.

Example:

@moonstones = %filterId( %roomGetItems(), @moonstoneId )