void main()
{
    effect eVFX;

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

    // Give "wave20th" to the PC.
    CreateItemOnObject("wave20th", oPC);

    SetLocalString(oPC, "wave20th", "1");

    // Destroy an object (not fully effective until this script ends).
    DelayCommand(2.0, DestroyObject(GetObjectByTag("wave18th")));

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

