how about 2 tries i think this will help a little bit
alias mirclock {
goto start
:start
; Next line checks to make sure the lock file hasn't been deleted.
if (!$isfile(C:\lock.ini)) { resetme | goto start }
if ($md5($md5($input(mIRC has been locked. Insert your password to unlock it.,wp,mIRC Lock))) != $readini(C:\lock.ini,main,pass)) goto start1
else halt
:start1
if (!$isfile(C:\lock.ini)) { resetme | goto start }
if ($md5($md5($input(Please try again!.,wp,mIRC Lock))) != $readini(C:\lock.ini,main,pass)) goto error
else halt
:error
noop $input(Wrong Password Closing mIRC,o,ERROR,ERROR,ERROR)
exit
halt
}