%hasAffectItem()

Aliases%hasAffectItem( )
Parameterscharacter @target, integer @vnum

    Checks to see if the @target has one or more affect objects in their
affect objects inventory with the given @vnum. Returns 1 if such an affect
object is found; otherwise returns 0.