mIRC Home    About    Download    Register    News    Help

Print Thread
#100940 18/10/04 04:08 PM
Joined: Feb 2003
Posts: 282
S
Fjord artisan
OP Offline
Fjord artisan
S
Joined: Feb 2003
Posts: 282
My mIRC is set to rejoin channels on connect. One of the channels requires nick registeration, so I made a script which automatically sends the password for nickserv.

Since I wanna send the message to nickserv before the On Connect event activates mIRC functions (Like rejoin channels), I wanted to use on ^*:connect, but then it doesn't catch the event.
When using on *:connect, then it sends the join channel command before the message to nickserv, and then the server gives an error that I need to register my nick in order to join that channel, and I need to rejoin the channel manualy.

Is there a solution for this?

10x

#100941 18/10/04 04:43 PM
Joined: Mar 2004
Posts: 45
D
Ameglian cow
Offline
Ameglian cow
D
Joined: Mar 2004
Posts: 45
Catch the notice from NickServ saying "you are now identified" with the "on notice" event, then have the event join the channels...

#100942 18/10/04 04:47 PM
Joined: Jan 2003
Posts: 2,523
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
Since the 001 numeric reply comes before the end of MOTD (which is when on connect triggers), you can try something like this:
Code:
raw 1:*: ns identify password


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
#100943 18/10/04 05:00 PM
Joined: Jan 2003
Posts: 2,523
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
This is possible only if he uses a scripted auto-rejoin and not mIRC's built-in stuff (like autojoin channels in Favorites, enabled "Rejoin channels on connect" option etc).


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
#100944 18/10/04 05:00 PM
Joined: Feb 2003
Posts: 282
S
Fjord artisan
OP Offline
Fjord artisan
S
Joined: Feb 2003
Posts: 282
thanks qwerty, I'm gonna try it.

#100945 18/10/04 05:34 PM
Joined: Feb 2003
Posts: 282
S
Fjord artisan
OP Offline
Fjord artisan
S
Joined: Feb 2003
Posts: 282
Nope, it doesn't work. I just checked it myself on a channel I have created:

#saragani Cannot join channel (+R)
-
* saragani sets mode: +R

I'm gonna try Daedalus idea by setting mIRC to keep channels open, and then rejoin the channels one by one.

#100946 18/10/04 07:06 PM
Joined: Jan 2003
Posts: 2,523
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
Hmm too bad. I tested something that I thought is equivalent and it worked for me: I did a
//nickserv identify password | chanserv access #mychannel list
and chanserv replied with the access list, meaning that it recognized my identify command that came right before (otherwise chanserv would have said "access denied")


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com

Link Copied to Clipboard