mIRC Home    About    Download    Register    News    Help

Print Thread
an on PROTOCTL event #207554 22/12/08 07:43 AM
Joined: Dec 2002
Posts: 203
T
Talon Offline OP
Fjord artisan
OP Offline
Fjord artisan
T
Joined: Dec 2002
Posts: 203
ok i have several checks i do using the IAL on join, any event you use to do an autojoin scripted be it raw, on connect, on login, etc.. all those get executed before mirc passes the PROTOCTL for like namesx and uhnames, upon joining these channels you are returned the old style /names listing with no nick!user@host information making my ial checks fail. dependong on latency issues, a simple timer doesn't always fix this problem so, using debug to an identifier i have corrected my autojoin issue but it would be nice if i didn't haveto use this method to find out what protocols mirc is using in conjunction with the server it is connected to.

Re: an on PROTOCTL event [Re: Talon] #207578 23/12/08 03:40 AM
Joined: Oct 2003
Posts: 3,918
A
argv0 Offline
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
I'm not exactly sure what you're asking for. Is your customized IRC server sending some non standard PROTOCTL response to your client? Have you tried catching it with RAW *:PROTOCTL:?


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
Re: an on PROTOCTL event [Re: argv0] #207595 24/12/08 11:17 AM
Joined: Dec 2002
Posts: 203
T
Talon Offline OP
Fjord artisan
OP Offline
Fjord artisan
T
Joined: Dec 2002
Posts: 203
when mirc issues the PROTOCTL command, there is no raw response whatsoever, thus nothing to see event wise. thus the need for the debug to see when mirc sends these protoctl commands.

Re: an on PROTOCTL event [Re: Talon] #207596 24/12/08 09:54 PM
Joined: Oct 2003
Posts: 3,918
A
argv0 Offline
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
The real solution is for mIRC to issue the ON CONNECT event after sending out PROTOCTL, which eliminates the need for any extra event handling.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
Re: an on PROTOCTL event [Re: argv0] #208098 13/01/09 06:29 AM
Joined: Apr 2003
Posts: 342
M
MeStinkBAD Offline
Fjord artisan
Offline
Fjord artisan
M
Joined: Apr 2003
Posts: 342
Is there any reason why you can't use the END OF NAMES event? I don't even know of this PROTOCTL event.


Beware of MeStinkBAD! He knows more than he actually does!