%getMobsWithId()

Aliases%getMobsWithId( )
Parametersinteger @id1 [, integer @id2 [, integer @id3 [, ...]]]

    Returns an array of entity pointers to all mobiles in the world with any
one of the given IDs.

Example:

foreach( %getMobsWithId( 37820 ) as @gremlin )
{
%purge( @gremlin )
}
endforeach