mIRC Home    About    Download    Register    News    Help

Print Thread
$id for raw 442 #18980 13/04/03 02:16 AM
Joined: Jan 2003
Posts: 96
J
Jesper Offline OP
Babel fish
OP Offline
Babel fish
J
Joined: Jan 2003
Posts: 96
How about adding an $id for raw 442 (invite fail) to fetch the nickname of the one you tried to invite to a chan you wasnt in?
its kinda lame that there is only an $id to fetch own nick

-peace

Re: $id for raw 442 #18981 13/04/03 03:32 AM
Joined: Dec 2002
Posts: 2,809
C
codemastr Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
Umm, numeric 442 has nothing to do with /invite. /invite may use it, but you can NOT assume that is all it is used for.

According to RFC1459:

442 ERR_NOTONCHANNEL
"<channel> :You're not on that channel"

- Returned by the server whenever a client tries to
perform a channel effecting command for which the
client isn't a member.


Therefore, how should mIRC know you invited someone when you aren't on the channel? mIRC doesn't know what command made the server generate that response, only you do.