you have an extra closing bracket in it on last line
/msg $chan 12,1 FAIL1------------------12FAIL1-----------12FAIL1-----12FAILFAIL1-------------12FAILFAILFAIL } <--- there ;x