You can either use the Perform section (Alt+O
>> Connect
>> Options
>> Perform...) or add the following to the Script Editor:
On *:connect:{- if $network == DALnet {
!nickserv identify nick pass
}
elseif $network == Undernet {
!.msg X[/i]@channels.undernet.org login user pass
}
elseif $network == Quakenet {
!.msg Q[/i]@CServe.quakenet.org auth user pass
mode $me +x
}
}As you can see, the network names are compared against the $network identifier. If you're unsure about your network name, type the following command in the status window and it will tell you the correct value:
//echo -a $networkMentality beat me 