menu nicklist {
blah:
.$submenu($slap($1))
}
alias slap {
if ($1 == begin) return -
if ($1 == end) return -
if ($1 isnum 1-10) return Slap $1 fish $+ : echo describe $chan slaps $nick with $1 fish.
}
Is there a way to do this? $nick in this context doesn't function, typically because $nick doesn't exist and secondly because it uses $1 as $nick which is already being used for the submenu?