Сохранить в папку profiles с названием из переменной nick. В 7 ZP расширение файла другое
project.Profile.Save(project.Directory + @"\profiles\" + project.Variables["nick"].Value + ".zpprofile", false, true, true, true, true, true, true, true, true);