If your mIRC freezes, press Ctrl-Break (several times if needed).
Then check your status window. It should display which line it broke on, which then tells you where to look further.
In addition, you mention that it freezes when YOU enter !find, but this script only triggers when other people enter !find.