mIRC has a built-in auto op feature. You can find it via its address book under control tab, where you scroll it down to "Op" and then add people whom you wish to be opped when he or she joins. You can also borrow its $aop() identifier but not get the auto-op feature enabled to give them other modes instead of the default one +o. In other words, you use the dialog itself to store the idents (address) of the user and match it against the $aop() identifier upon entry using a scripted join event. This will mean you have to have your mIRC running at all times.