Have u looked into the Nicklist menu and the identifier $submenu
Code:
menu Nicklist {
$submenu($heyyou($1))
}
alias heyyou {
if ($1 == being) { return }
if ($1 == 1) { return this:echo -a do that }
if ($1 == 2) { return that:echo -a do this }
if ($1 == end) { return }
}