I just fired up a clean copy of 7.52, joined a +i channel on Rizon, and then had another person do "/cs invite #channel" and then chanserv sends the two following messages to myself.

<- :ChanServ!service@rizon.net NOTICE me :ChanServ is inviting othernick to #channel.
<- :ChanServ!service@rizon.net INVITE othernick #channel

This only seems to be happening on Rizon as far as my testing goes.

The on invite code you have in your post does not catch the second line above and mirc displays it as "ChanServ has invited othernick to #channel"


http://scripting.pball.win
My personal site with some scripts I've released.