mIRC Home    About    Download    Register    News    Help

Print Thread
Question #122370 09/06/05 08:35 PM
Joined: May 2005
Posts: 54
M
Mlupu Offline OP
Babel fish
OP Offline
Babel fish
M
Joined: May 2005
Posts: 54
Hello guys!
i have one question for you. I want a script who ...when i am connected on mirc, i want to login me at X (undernet) automatic, and when X sent me via notice - X - You are logged succerfully, i want this script to do /mode $nick +x automatic too. Thanks for you're help.


/server IRC.RomaniaIRC.ORG
Re: Question #122371 09/06/05 10:45 PM
Joined: Mar 2005
Posts: 420
X
xDaeMoN Offline
Fjord artisan
Offline
Fjord artisan
X
Joined: Mar 2005
Posts: 420
You can do 2 things,

Put this on your Perform on Connect ( ALT-O -> CONNECT -> Options -> Perform -> Check the box "Enable perform on Connect" -> select Undernet)

Code:
 .msg X@channels.undernet.org login USERNAME PASSWORD
mode $me +x
 


Or Add an On Connect event in your remote section

Code:
 On *:CONNECT: {
  if ($network == Undernet) { .msg X@channels.undernet.org login USERNAME PASSWORD | mode $me +x }
} 
 


**Change USERNAME & PASSWORD


If you have a plastic floor runner over your tiles, then you're one Hella Pinoy!
Re: Question #122372 10/06/05 03:25 PM
Joined: Jun 2003
Posts: 994
C
CtrlAltDel Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Jun 2003
Posts: 994
This works for me (where perform doesn't always due to X being lagged)
Code:
on 1:connect: {
  msg x@channels.undernet.org login [color:red]username password[/color]
}

on 1:notice:AUTHENTICATION SUCCESSFUL as [color:red]username[/color]*:*: {
  mode $me +x
}
 

Re: Question #122373 10/06/05 04:01 PM
Joined: May 2005
Posts: 54
M
Mlupu Offline OP
Babel fish
OP Offline
Babel fish
M
Joined: May 2005
Posts: 54
Thank you both of you.