Code:
 alias showquote set %chan1 # | sockopen q www.sith-net.com 80

On *:sockopen:q:{
  if $sockerr {
    echo -s - Error: couldn't contact website.
    return
  }
  var %s = sockwrite -tn q
  %s GET www.sith-net.com/f4c/Quotes.php HTTP/1.0
  %s Host: www.sith-net.com
  %s
}
On *:sockread:q:{
  var %s
  sockread %s
  if Quote * iswm %s {
    msg %chan1 13,1 %s
    notice $me 9,1For More Quotes Be Sure To Visit www.Free4Canada.ca/MyQuotes.php
    sockclose q
  }
}
On *:sockclose:q:{
  echo -s - Error: couldn't fetch quote.
} 
 


you can get the quotes several ways
MyQuotes.php isnt done yet but that shouldnt matter

it should go to www.sith-net.com/f4c/Quotes.php
or www.free4canada.ca/Quotes.php
(which is the same addy in reality,

and it should randomly generate a quote from that page
(yes there are only 2 right now)

what is wrong with my code?