Maybe you mean \"On *:Start: {\". Also what\'s the write quotes.txt for? Please try testing your script first.