Yes, something like that raZor, but your use of {} in popup menus is wrong, instead of:

$iif($network == dalnet,Chanserv) {
.chanserv popups }

Itd be:

$iif($network == dalnet,Chanserv)
.chanserv command 1: { do 1 }
.chanserv command 2: { do 2 }
.chanserv command 3: { do 3 }
etc

Where: .command 1: { do 1 } would be:
.Register chan: { command to register a channel with ChanServ }
etc