If you intend to grant XP via custom scripts (via conversations
for quests or otherwise), be advised that you can only use the
following function to do it. Anything else will result in an error
or retraction of the XP given:
void ACR_GiveXPToPC(object oPC, int
nXpAmount);
You will also need the following line at/near the
top of your script.
#include "acr_xp_i"
This include will give you access to the XP
function.