mIRC Homepage
Posted By: mulgarus multiple auths on same server? - 04/11/08 09:02 PM
I had a script written for me to perform /authserv on different account while connected to the same server opening both accounts on different trees.
Since I've updated to a new version of Mirc, that script wont work.

Code:
ON *:START:{

 server irc.gamesurge.net:6667 -i Nickname Alternative 
email name
 server -mp irc.gamesurge.net:6667 -i Nickname Alternative 
email name

}

ON *:CONNECT:{
 mode $me +x

 if (*gamesurge* iswm $network && *CEVO* iswm $me) {
   as auth account password
   mode nick +x
   join #channels
 }

 if (*gamesurge* iswm $network && *fd* iswm $me) {
   as auth account password
   mode nick +x
   join #channels
 }


the *CEVO* and *fd* are tags of both accounts
Posted By: RusselB Re: multiple auths on same server? - 04/11/08 10:52 PM
While I don't see anything wrong with that code, you might want to try this little re-write. I can't test this as I don't have a gamesurge account, let alone authserv access
Code:
ON *:START:{
  server irc.gamesurge.net:6667 -i Nickname Alternative 
email name
  server -mp irc.gamesurge.net:6667 -i Nickname Alternative 
email name
}

ON *:CONNECT:{
 mode $me +x
 if (*gamesurge* iswm $network) {
    if (*CEVO* iswm $me) {
      as auth account password
      mode nick +x
      join #channels
    }
    elseif (*fd* iswm $me) {
      as auth account password
      mode nick +x
      join #channels
    }
  }
}
Posted By: mulgarus Re: multiple auths on same server? - 05/11/08 06:50 AM
well, it works for the most part, but i still have to manually connect to the 2nd account in a new server window.
© mIRC Discussion Forums