You had it, it's /set %name.of.user. $+ $nick

This works because /set will not evaluate what follows it if it's a variable name. So $+ $nick is joined to the literal '%name.of.user.' and the result is set as a variable

When it comes to getting the value, you need to force the $+ $nick to evaluate before the variable name behind it: %name.of.user. [ $+ [ $nick ] ] or $eval($+(%,name.of.user,$nick),2)

Lastly, $isfile returns $true/$false depending on whether a file exists. $isfile(path\file.ext)