Hi, wondering if anyone can help with my Syntec FC60WA controller (same as Syntec 6MB)

If I try and do an IF statement I get a syntax error no matter what I try.
The reasoning for the IF statement in my code is I want to not turn spindle on for a particular tool. My post processor doesn't allow condition loops (Vetric Aspire) so I'm trying to handle it in gcode.
So my code would be something like this

Code:
#100 = 1 (1 is the tool number)
N10 M06
N20 T1
IF [#100EQ1]GOTO40
N30 M3 S8000
N40...
N50..
But it throws a syntax error for the line containing the IF loop. If I remove the IF loop and have the GOTO only, it works without error. Can anyone help? Maybe there is another way to do this?
Thanks