mIRC Homepage
Posted By: Mlupu Question - 09/06/05 08:35 PM
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.
Posted By: xDaeMoN Re: Question - 09/06/05 10:45 PM
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
Posted By: CtrlAltDel Re: Question - 10/06/05 03:25 PM
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
}
 
Posted By: Mlupu Re: Question - 10/06/05 04:01 PM
Thank you both of you.
© mIRC Discussion Forums