alias servandnick {
nick oblivious
server -m us.undernet.org 7000
}
That should work but the only problem is it will change your nickname on all networks not just the undernet one.
if you would like to change it on just the one network and have a different nickname on another network you could do something like this.
on 1:CONNECT: {
if($network == Undernet) {
nick <undernet nick>
if($network == DALnet) {
nick <dalnet nick>
}
}
}
<untested>