I see 3 errors in the script.
Your 2nd line has insufficient parameters. /help /write
Your /timer has insufficient parameters also. No command was specified. /help /timer