napa182 commented on a Page, Monkeys Fortune  -  Aug 24, 2008

ChunkieMonkey said:

I would test, got home maybe....I dunno. But I would have to get my bot up and I dun feel like it.

well then if you are not going to test what you make dont post it.
just like Jamiie told you:
Jamiie said:

Well if you don't want anyone to rant and raise hell at you for it being a mediocre and not testing then don't post anything.. Common sense man.

anyways you should have made this a socket

on $*:text:/^!Fortune$/iS:#: {
  if ($sock(fo)) sockclose fo
  sockopen fo www.fortunecookiemessage.com 80
  sockmark fo msg #
}
on *:sockopen:fo: {
  sockwrite -nt $sockname GET / HTTP/1.1
  sockwrite -nt $sockname Host: $+($sock(fo).addr,$str($crlf,2))
}
on *:sockread:fo: {
  var %fo | sockread %fo
  if ($regex(%fo,/<a href=.+>(.+)<\/a><\/h1>/)) {
    $sock(fo).mark $regml(1)
    sockclose fo
  }
}
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.