mIRC Homepage
Posted By: Jesper $id for raw 442 - 13/04/03 02:16 AM
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
Posted By: codemastr Re: $id for raw 442 - 13/04/03 03:32 AM
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.
© mIRC Discussion Forums