It may be mirc having trouble with the brace, I'm not sure. Try this instead:

scon -at1 inc %i $iif($network == $1,1,0)


-KingTomato