Random Insult v1.0

By Gecko321 on Jun 15, 2012

Posts a random insult

#Looks up random insults
bind pub - !insult insult
proc insult {nick host hand chan arg} {

  package require http
  set url "http://www.randominsults.net/"
  set page [http::data [http::geturl $url]]
  regexp {<i>(.*?)<\/i>} $page a insult
  putserv "PRIVMSG $chan : $insult"
}

putlog "Random Insult v1.0"

Comments

Sign in to comment.
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.