void main() { object oPC = GetPCSpeaker(); ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_SUNBEAM), GetLocation(oPC)); // Give the speaker some XP GiveXPToCreature(oPC, 50); // Set the variables SetLocalInt(GetPCSpeaker(), "Worship", 1); AdjustAlignment(oPC, ALIGNMENT_LAWFUL, 10); }