%mobRankAtMost()

Aliases%mobRankAtMost( )
Parametersmobile @target, string @rankName

    Returns 1 if the given @target has a rank of at most the given @rankName;
otherwise returns 0. The @target must be a pointer to a mobile. The
@rankName may be one of the following:

dweeb
masterDweeb
novice
capable
veteran
expert
master
champion
livingLegend
mythicRenown
demiGod
immortal

The above names are also in order of increasing rank.

Example:

if( %mobRankAtMost( @n, veteran ) )
{
whisper @n I heard there's gold buried in the bandit priest's tent!
}
endif