Sytax Error

I can not find this error could someone please help

if(tag({Root Container.running})=1,1,
if(tag({Root Container.breaker})=0,3,
if(tag({Root Container.overload})=0&&(tag({Root Container.breaker})=1,2,0))))

Syntax Error on Token: ‘Comma’(line3, Char70)

You added a extra ‘(’ on line 3 before second tag and lose 1 ‘)’ at the end.

Code should look something like…

if(tag({Root Container.running})=1,1,
if(tag({Root Container.breaker})=0,3,
if(tag({Root Container.overload})=0&&tag({Root Container.breaker})=1,2,0)))

Another way to handle this would be to use binEnc().
Removes all the layers of if statements and would give you more flexibility to change color, text, etc…

binEnc(tag({Root Container.running}),tag({Root Container.breaker}),tag({Root Container.overload}))

Cheers,
Chris

Thanks I figured it out.