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)