IfNPC

Prototype
IfNPC,NPC ID,CONDITION,0,CUSTOM EVENT,Active time,OPTION

Description
Scans the level continuously so long as active time hasn't run out. If the scan finds that an NPC of NPC ID meets the condition, it activates CUSTOM EVENT.