1. You can't set $nick
2. If you wanted to save the value of edit box 10 you would do /set %variablename $did(10)