Actually, this would be useful for any server, not just IRCX... as the original intended purpose of /hop (as seen in earlier versions of mIRC when /hop was actually a stock alias) is to be a quick way of skipping from channel to channel without having to issue separate /part and /join commands.

/hop /part # | /join #$$1

It's only a nice side effect that the new /hop command cycles the active channel. Khaled even added the -c switch later so you can specify which #channel to cycle.

Without the -c switch though, /hop is meant to /join a new channel... so you would expect it to accept a key parameter like /join does.

- Raccoon
PS. It's interesting to look back at the old aliases and see how they progressed over the years. I might post these later.

__ Edit: __
After taking a closer look, /debug reveals that /hop does infact send the channel key to the server in the /join command... HOWEVER, it also places that key in your "part message" for servers which support it. A rather nasty security hole.

(in #chan1) /hop #chan2 key
-> irc.Prison.NET PART #chan1 :key
-> irc.Prison.NET JOIN #chan2 key


- Raccoon

Last edited by Raccoon; 17/07/03 02:54 AM.

Well. At least I won lunch.
Good philosophy, see good in bad, I like!