NPC Code: savelog2 'txtname'.txt,<what you want to save>;
savelog2 'txtname'.txt,<what you want to save>;