mIRC Home    About    Download    Register    News    Help

Print Thread
need help with auto login script #158912 11/09/06 12:59 AM
Joined: Sep 2006
Posts: 31
S
Sukai Offline OP
Ameglian cow
OP Offline
Ameglian cow
S
Joined: Sep 2006
Posts: 31
ok im using

Code:
  
on 1:START:{
  /server irc.freenode.net
  /server -m us.quakenet.org
  /server -m irc.riz0n.net
}


in a myconnect.ini file to connect to mulitple networks

it works fine but i need something other than "perform" (located in tools>options>connect>options>perform) to do my /nickserv identify password (or /msg q auth nick password for quakenet) commands

the reason im not using perform is because it takes action AFTER ive join all the channels on autojoin (Favorites)

i dont want that because my ip will be shown (by the time i identified myself its too late)

can anyone help?

i need it to auto ID myself as soon as im connected to the specific server and before my autojoins in "Favorites" performs

i just started mIRC scripting ( i have toyed with it before but only small miminal sniippets)

thanks in advance

EDITED: thought i should also add my password/nicks are different for each server

Last edited by Sukai; 11/09/06 01:08 AM.
Re: need help with auto login script #158913 11/09/06 01:05 AM
Joined: Dec 2002
Posts: 1,527
L
landonsandor Offline
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,527
how about (just an example, not sure what the networks official name is):

Code:
on *:connect: {
  if ($network == freenode) { freenode's identify command }
   if ($network == quakenet) { quakenet's identify command }
   if ($network == riz0n) { riz0n's identify command }
}


Those who fail history are doomed to repeat it
Re: need help with auto login script #158914 11/09/06 01:18 AM
Joined: Sep 2006
Posts: 31
S
Sukai Offline OP
Ameglian cow
OP Offline
Ameglian cow
S
Joined: Sep 2006
Posts: 31
that works

thanks alot really appreciate it

Re: need help with auto login script #158915 11/09/06 02:46 PM
Joined: Dec 2002
Posts: 1,527
L
landonsandor Offline
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,527
glad to be of help


Those who fail history are doomed to repeat it