%isCharm()

Aliases%isCharm( )
Parametersmobile @entity

    Returns 1 if the given @entity is a player's charm; returns 0 otherwise. 
The @entity may be a character pointer or keyword. Note that pets are NOT
considered to be charms.

Example:

if( %isCharm( @n ) )
{
talk @n Yummy, yummy, a tasty morsel for me!!
emote eats @N
%purge( @n )
}
endif