// Add last journal entry and give the XP for completing the quest
void main()
{
// nEntry = the numeric ID value of the final quest category (labeled as ID in the Journal Editor) - replace nEntry
// in the line below with this value AddJournalQuestEntry("YOUR_QUEST_TAG_HERE", nEntry, oPC, TRUE, FALSE, FALSE);
GiveXPToCreature(oPC, GetJournalQuestExperience("YOUR_QUEST_TAG_HERE"));
}