This is regarding the bug reported here:http://forums.mirc.com/ubbthreads.php/topics/238811/mIRC_can_t_handle_URLs_properl
I hope that the bug is on the to-be-fixed list and will be fixed in the next release of mIRC, but just in case it isn't I already wrote a script that echoes the corrected url in the channel window when someone posts an url containing  in it (%5B, %5D).
What I'm wondering is that is there a way to catch and replace the url or any text in a user's message directly? The echo seems a bit stupid and I'd like to replace the URL directly in the user's message, so it seems that they are posting the corrected (encoded) url.
A simple example will do on how to replace any text in the message itself, so it looks like the user is saying something different. Eg. user sends to a channel:
and you see