%isMobId()

Aliases%isMobId( )
Parametersinteger @id

    Returns 1 if @id corresponds to a valid mobile description. This is useful
for checking to see if a given mobile exists before attempting to load it.
In most cases you won't need to do such a check, but in rare instances
when the area may not be loaded for the mobile, then this will prevent the
%load() function from firing an error if it can't find the mobile.

Example:

if( %isMobId( @someId ) )
{
%load( mobile, @someId, @roomId )
}
endif