mIRC Home    About    Download    Register    News    Help

Print Thread
/hop [message] bug, or clarification needed. #269483 13/10/21 12:39 PM
Joined: Feb 2003
Posts: 2,785
Raccoon Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,785
Quote
/hop [-cn] [#channel] [message]

Parts the current channel and joins a new one. If no new channel is specified, it parts and rejoins the current channel without closing the window.

The -c switch cycles the specified channel by parting and rejoining it.

The -n switch minimizes the channel window.


Behavior: When the -c switch is omitted, the [message] parameter is ignored. It is only sent when -c is present.
Expected behavior: A part-message is sent to the server whenever a message parameter is used.

The -c parameter means that the /hop command will only act upon an existing #channel window -- parting the channel and re-joining it -- otherwise a new #channel window will be created (same as /join).
Absence of the -c parameter means that the /hop command will only act upon the $active #channel window -- parting the active channel and joining (or re-joining) the channel specified in the command.

It doesn't seem congruent to only pass the part-message from the [message] parameter for the former, but not the latter.


Well. At least I won lunch.
Good philosophy, see good in bad, I like!
Re: /hop [message] bug, or clarification needed. [Re: Raccoon] #269484 14/10/21 11:35 AM
Joined: Dec 2002
Posts: 5,020
Khaled Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,020
Thanks for your bug report.

I just tested this using "/debug on" to see what is sent to the server and the part message is being sent both with and without -c.

Can you show me the format of the command you are using where it does not send the part message?