I don't think it's an issue of names. Trying out this code in completely fresh mod with only one goal didn't work, it still says that it fails to parse scripts:

IF
CharacterEnteredTrigger(CHARACTER_Jack,TRIGGER_BoxTest)
THEN
CharacterAddGold(CHARACTER_Jack, 100);