How i can override a existing lua function?

sorry i use now : Quests, Event trigger Tutorial needed