mIRC Home    About    Download    Register    News    Help

Print Thread
#182747 14/08/07 08:40 AM
Joined: Jan 2007
Posts: 34
C
cygnusx Offline OP
Ameglian cow
OP Offline
Ameglian cow
C
Joined: Jan 2007
Posts: 34
What's the reply from the server when successfully join channel?Then only thing that shows that i'm entered channel in the RFC 2812 is the RPL_TOPIC reply.But this will be returned only if the channel has topic...Is there any other way to know whether i'm successfully joined channel?

Joined: Jan 2003
Posts: 2,523
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
Read section 3.2.1 of the document you mentioned, it's all explained there (3rd paragraph more specifically).


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
Joined: Jan 2007
Posts: 34
C
cygnusx Offline OP
Ameglian cow
OP Offline
Ameglian cow
C
Joined: Jan 2007
Posts: 34
Yeah,"If a JOIN is successful, the user receives a JOIN message as
confirmation" but what's the reply code for this confirmation message?

Joined: Jan 2003
Posts: 2,523
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
There is no reply code; the JOIN message is not a numeric reply. To see what it looks like, type /debug @debug in mirc and join a channel.


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
Joined: Jan 2007
Posts: 34
C
cygnusx Offline OP
Ameglian cow
OP Offline
Ameglian cow
C
Joined: Jan 2007
Posts: 34
Ok,thanks

Joined: Dec 2002
Posts: 503
B
Fjord artisan
Offline
Fjord artisan
B
Joined: Dec 2002
Posts: 503
Usually, the last thing you'll get on a JOIN is a RPL_ENDOFNAMES (366).

Joined: Feb 2003
Posts: 3,432
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
then try use 366 ? smile


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
Joined: Sep 2007
Posts: 32
S
Ameglian cow
Offline
Ameglian cow
S
Joined: Sep 2007
Posts: 32
i'd recommend making use of raw 324 better

it goes like; 324 Channel ChannelMode(s)


on me:*:JOIN:#: { .raw part # $crlf join # }

Link Copied to Clipboard