mIRC Home    About    Download    Register    News    Help

Print Thread
multiple auths on same server? #205967
04/11/08 09:02 PM
04/11/08 09:02 PM
Joined: May 2008
Posts: 5
M
mulgarus Offline OP
Nutrimatic drinks dispenser
mulgarus  Offline OP
Nutrimatic drinks dispenser
M

Joined: May 2008
Posts: 5
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

Re: multiple auths on same server? [Re: mulgarus] #205974
04/11/08 10:52 PM
04/11/08 10:52 PM
Joined: Aug 2004
Posts: 7,252
Ontario, Canada
R
RusselB Offline
Planetary brain
RusselB  Offline
Planetary brain
R

Joined: Aug 2004
Posts: 7,252
Ontario, Canada
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
    }
  }
}

Re: multiple auths on same server? [Re: RusselB] #205985
05/11/08 06:50 AM
05/11/08 06:50 AM
Joined: May 2008
Posts: 5
M
mulgarus Offline OP
Nutrimatic drinks dispenser
mulgarus  Offline OP
Nutrimatic drinks dispenser
M

Joined: May 2008
Posts: 5
well, it works for the most part, but i still have to manually connect to the 2nd account in a new server window.