Quote:
mIRC looks for URLs beginning with "http://", "ftp://", "gopher://", "www.", and "ftp.". mIRC also checks to make sure addresses are not added to a list if they already exist. Addresses longer than 256 characters are ignored.


alias isurl {
if ($regex($1-,/^((http://)|(ftp://)|(gopher://)|(www\.)|(ftp\.))/i) && $len($1-) < 257) return $true
return $false
}

$isurl(www.test.com) - $true
$isurl(http://www.test.com) - $true
$isurl(test) - $false
$isurl(blah blah blah) - $false

I really don't see why something like that has to be done internally when the script to do it yourself is 2 lines long.