This is more like a personalized snippet modified from a mass mode code, and its practicality is questionable.
Though mIRC's in-built auto op feature could have done the same deal via the entry to have users opped according to its auto list.