mIRC Home    About    Download    Register    News    Help

Print Thread
#262529 14/02/18 03:53 AM
Joined: Apr 2004
Posts: 73
Z
Babel fish
OP Offline
Babel fish
Z
Joined: Apr 2004
Posts: 73
On mIRC v7.51, when I do this command after being invited to a channel:

/join -i

I receive this error:

* /join: no such channel

I have tried this event in my remote scripts:

on *:invite:#:/join -i

But it gives the same error.

If I add some arbitrary channel name afterward, the command works:

on *:invite:#:/join -i #foobar

(mIRC does not join #foobar, it only joins the last channel I was invited to)

Adding an arbitrary text value at the end only works if I enclose the command in curly braces:

fails: on *:invite:#:/join -i foobar
works: on *:invite:#: { join -i foobar }

Thanks


/tokenize 32 $gettok($1-,1-,32)
Joined: Dec 2002
Posts: 5,420
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,420
Thanks for your bug report. I have not been able to reproduce your first issue yet. After I am invited to a channel, I type "/join -i" and mIRC joins the channel.

Quote:
I have tried this event in my remote scripts:

on *:invite:#:/join -i

That is because the -i switch was designed to be used manually, in other words, for a user to type "/join -i" in a window after the event. The on INVITE event already provides the standard parameters you need, eg. "/join $chan". The way "/join -i" works could be changed to work in that event, although technically that was not its purpose.

Joined: Apr 2004
Posts: 73
Z
Babel fish
OP Offline
Babel fish
Z
Joined: Apr 2004
Posts: 73
Thanks for looking into this. wims was able to reproduce this issue after closing the channel after using /join -i . I hope this helps.


/tokenize 32 $gettok($1-,1-,32)
Joined: Jan 2004
Posts: 2,127
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2004
Posts: 2,127
you mean after you use "join -i" to join the channel, you then close the channel window but expect "join -i" to join it again? I'm assuming that once join -i opens a window it gets taken off the list

Joined: Dec 2002
Posts: 5,420
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,420
Quote:
I'm assuming that once join -i opens a window it gets taken off the list

Yes, exactly, that is how it works. Once it is used, or the channel is joined in any other way, the last invite channel is cleared. That was the design decision at the time it was implemented.

Joined: Apr 2004
Posts: 73
Z
Babel fish
OP Offline
Babel fish
Z
Joined: Apr 2004
Posts: 73
All of my issues with this have been fixed with the latest beta release.

/join -i still works even after I have closed the channel and have not gotten a new invite.

Thanks!


/tokenize 32 $gettok($1-,1-,32)

Link Copied to Clipboard