void main() { // apply whiz-bang FX object oPC = GetPCSpeaker(); effect eVisual = EffectVisualEffect(VFX_IMP_RESTORATION_GREATER); ApplyEffectToObject(DURATION_TYPE_INSTANT, eVisual, oPC); // Give the speaker some XP GiveXPToCreature(oPC, 44); //Change Alignment to Chaotic AdjustAlignment(oPC, ALIGNMENT_CHAOTIC, 5); }