mIRC can already tell if something is a URL or not. When I move my mouse over something, if it's an URL, I can double click it and it will go to the site. I'm suggesting that Khaled makes an isurl (or as some suggested it, $isurl) to see if the given word is an URL recognized by mIRC.