Hello was wondering if someone could help with a auto join script that auto starts multiple servers and nickser identifies and bot joins with a site nick and password key this is what i have so far as an example

on *:CONNECT:{
if ( network) {
nickserv identify gorf
/msg dorks enter #blabla, #gong "user" "key"
}
on *:CONNECT:{
if (irc.bozonetwork.net) {
nickserv identify dumbarse
/msg amiels enter #whacked, #bozo-lounge "user" "key"
}
on *:CONNECT:{
if (irc.porchmonkey.org) {
nickserv identify snarf
/msg dogfluffer enter #joe, #blow "user" "key"
}


sorry guys im new its works on mirc if i start servers manually kinda, but would like servers to start and auto load after i start progam i had that all set up years ago but have since forgotten

any help would be appreciated