so it would be

if $did == 5 { set %nick1 $did(5) | set %-test1223 $did(5) }

if i do that I dont think i will get the var with the - in front of it

ex. -8