That's a cool way of doing it Horstl, thanks. I always had trouble with a second parameter. Guess I was just doing something wrong. smile

This is the way I do it.

Code:
menu * {
Add:$submenu($addpp($1))
Fave:$submenu($fpp($1))
}
alias addpp { return $pp_($1,a) }
alias fpp { return $pp_($1,f) }
alias pp_ {
  if ($1 isin begin.end) { return }
  elseif ($2 == a) && (%addr. [ $+ [ $1 ] ]) { return $iif($ifmatch == %lastadd,$style(1)) $chr(160) $readini(soulfly.ini,accts,$ifmatch) $+ :sf_re $ifmatch }
  elseif ($2 == f) && ($gettok(%fav,$1,44)) { return $+($iif($gettok(%fav,$1,44) !isnum,$hcd($ifmatch)),:join) $gettok(%fav,$1,44) }
}