You're actively searching for $1-, which in this case would be "hello www.google.com". You should be looping through each word using $gettok instead and wildcard search that. $gettok($1-,1,32) returns "hello", $gettok($1-,2,32) retuns "www.google.com"
Originally Posted By: Help Files: $read
//echo $read(info.txt, s, mirc)

Scans the file info.txt for a line beginning with the word mirc and returns the text following the match value.

//echo $read(help.txt, w, *help*)

Scans the file help.txt for a line matching the wildcard text *help*. The r switch implies a regex match.

If you specify the s, w, or r switches, you can also specify the N value to specify the line you wish to start searching from in the file, eg.:

//echo $read(versions.txt, w, *mirc*, 100)