I am having trouble with successfully implementing my quest rewards. I have tried to make an adventure from scratch just to learn the basics of it and am not planning on publishing it. I can't seem to get the quest rewards to be given to the player character. I have the table set in the journal editor and I have

DB_QuestDef_QuestReward("MainQuest","EndQuest","QuestUpdate_MainQuest_EndQuest");

in the INIT section and I took the format from the journal entries of the Larian script. I have tried setting different flags via dialog and the story editor. I've only been doing this for a couple of months and am still pretty novice. Does anyone have any help they could offer?