void main()
{
    effect eVFX;
    object oTarget;
    effect eEffect;

    // Get the PC who is in this conversation.
    object oPC = GetPCSpeaker();

    // Apply an effect.
    oTarget = GetObjectByTag("blackrazor");
    eEffect = SupernaturalEffect(EffectImmunity(IMMUNITY_TYPE_MIND_SPELLS));
    ApplyEffectToObject(DURATION_TYPE_PERMANENT, eEffect, oTarget);

    // Apply a visual effect.
    eVFX = EffectVisualEffect(VFX_IMP_KNOCK);
    ApplyEffectToObject(DURATION_TYPE_INSTANT, eVFX, oPC);
}

