Well, you can't just tack commands onto other commands ad hoc.
The msging bots should be done from an on connect event.
on *:start: {
dll stuntour.dll load_stunnel
server irc.link-net.org:7000 -i NICKNAME
server -m irc.efnet.nl -i NICKNAME1
server -m irc.efnet.org:6668 -i NICKNAME22
}
on *:connect:{
if $network == Linknet { msg bot1 !invite user pass }
if $network -- EFnet {
if $server == irc.efnet.nl {
msg bot2 !invite user pass
msg bot3 !invite user pass
}
else msg bot6 !invite user pass
}
}
If the $server check doesn't work out, change it to checking your nick
if $network -- EFnet {
if $server == irc.efnet.nl { }
else msg bot6 !invite user pass