Maybe $read might help you? smile

mIRC has a build-in Auto op system... /help Auto-Op List