I could also recommend this following script, but it won't work on Rizon because their IRCd doesn't allow removing CAPapabilities after they've been enabled, as most other ircds would allow.
On *:CONNECT: raw CAP REQ :-invite-notify
So, instead, you'll have to intercept mIRC's initial REQ that gets sent out upon connect, again, using On PARSELINE.
On *:PARSELINE:out:CAP REQ ?invite-notify?: {
if ($status == loggingon) parseline -ot
}
;first '?' represents a colon, second '?' represents an $LF