MacOS introduces "carriage-return" characters every time you copy and paste a new line, or press TAB, or press ENTER. They will cause the game to crash. Use other text editors that give you the option to toggle "Windows CRLF" in the Preferences window. That way, no matter how many MacOS-specific characters you introduce into the game file, the special text editor will translate them properly