%scriptGetAttached()

Aliases%scriptGetAttached( )
Parametersentity @target, string @targetLabel

    Attempts to find the script with @targetLabel that has been attached to
@target. If found a pointer is returned.

Example:

@trigger = %scriptGetAttached( @item, "illusion_dispelHandler" )
%purge( @trigger )