if i understand you correctly, then you can do that by:
/set $nick %nick
$nick can be replace by the actual nick (ie. if your typing it in yourself) along with other identifiers such as $2