mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: May 2008
Posts: 5
M
Nutrimatic drinks dispenser
OP Offline
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

Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
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
    }
  }
}

Joined: May 2008
Posts: 5
M
Nutrimatic drinks dispenser
OP Offline
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.


Link Copied to Clipboard