How do I use the gate "if on fire" in wiremod???

Like the title says, I am trying to get my smoke/fire alarm to work, but when I try to wire the gate to anything it just says “invalid source” or syntax error or something like that. So how do I get it to work??

Try wiring it in the opposite order

Nope can’t