%eqPos()

Aliases%eqPos( )
Parameterscharacter @entity, object @entity

    Checks that the character is wearing the given object and returns the wear
position ID if found. Returns -1 if not found. Character entity may be a
character pointer or keyword. The object entity may be an object pointer,
keyword, or vnum. Following is a list of IDs and the position they
represent:

1 light 10 hands
2 left finger 11 arms
3 right finger 12 shield
4 neck 1 13 about body
5 neck 2 14 waist
6 body 15 left wrist
7 head 16 right wrist
8 legs 17 wielded
9 feet 18 held

Example:

if( %eqPos( @n, idol_of_iskar ) == 1 )
{
talk @n You have done well adventurer!
wait 2 secs
talk @n Are you ready for the next stage of your quest?
}
endif