The problem is your closing evaluation bracket is touching the closing parenthesis of the $calc() identifier.

Code:
$calc(%TB.Wires. [ $+ [ $address($nick,4) ] ] / %TB.Goes. [ $+ [ $address($nick,4) ] [color:red]])[/color]

should be:
Code:
$calc(%TB.Wires. [ $+ [ $address($nick,4) ] ] / %TB.Goes. [ $+ [ $address($nick,4) ] [color:red]] )[/color]


(highlighted in red around where the space is).