OK... How about making custom operators? Something like
isowner
That operator exists already, but I like the idea.
Also, is there a way to alter the raw connection between mIRC and the server?
Short answer: no.
Long answer: no, but you can write your own connection script using sockets to connect to irc and alter the data being sent through your sockets.