%positionAtLeast()

Aliases%positionAtLeast( )
Parametersmobile @target, string @position

    Returns 1 if the given @target is at least of the given position;
otherwise returns 0. The @target may be a text pointer or keyword. The
@position must be one of the following position names:

dead
mortally wounded
incapacitated
stunned
sleeping
resting
sitting
fighting
standing

Incidentally they are also in order so "fighting" is less than "standing"
and "stunned" is less than "resting" etc.

Example:

if( %positionAtLeast( @n, fighting ) )
{
headbutt @n
}
endif