Some network's servers do send op notices when an op sends an invite, DALnet being one of them, for example:
-broadway.ny.us.dal.net:@#blah- Nickname invited SomeoneElse into channel #blah
This is triggered by the ON NOTICE event. You could use something like this:
on ^*:notice:*invited*:#channel:{
if (*server.domain* iswm $nick) {
halt
}
}
Change #channel for the channel name.
Change 'server.domain' for the domain of the server, for example, dal.net would be DALnet's server domain, so you'd put *dal.net* in between the wildcards.
Regards,