mIRC has no internal coding that allows it to change the state of an editbox to a right-to-left typing method. I would guess that Windows itself, or an external program, is affecting mIRC, and changing the editbox state for some reason.