Nicklist Insulter

By Callison1 on May 27, 2007

It's an insult function in the right click menu on the nick list, it gets insults from www.pangloss.com/seidel/Shaker , a shakespearean (spellcheck please :p) insulter and messages them into the channel in the form of <victim's name>, . There are occasionally some html tags in the final display, i removed and
but if you get anymore tell me, or suggest a way that will clear any of them (if there are any more).

To use it, open Scripts Editor and click on remotes tab and paste the snippet in there (just incase you don't know)

Feedback please.

on *:SOCKOPEN:insult: {
  sockwrite -nt $sockname GET /seidel/Shaker/ HTTP/1.1 
  sockwrite -nt $sockname Host: www.pangloss.com 
  sockwrite -nt $sockname $crlf 
}
on *:SOCKREAD:insult: { 
  if ($sockerr) { halt } 
  else { 
    var %sockreader
    sockread %sockreader
    if (*</font>* iswm %sockreader ) { 
      var %insult = $replace(%sockreader,</font>,)
      var %insult = $remove(%insult,[,],<br>)
      msg %inschan %victim $+ , %insult
      unset %insultway* 
      unset %victim
      unset %inschan
      sockclose $sockname 
    } 
  } 
}
menu nicklist {
  -
  Insult:/sockopen insult www.pangloss.com 80 | set %victim $$1 | set %inschan $chan
  -
}

Comments

Sign in to comment.
dma   -  Jun 08, 2018

this is awesome still in 2018

 Respond  
CharltonJ   -  Jun 11, 2007

Awesome LOL :) Goodjob.

 Respond  
Callison1   -  May 28, 2007

Thanks!

 Respond  
Solo   -  May 28, 2007

i will do it on Mr cantseeme\'s behalf.

 Respond  
Callison1   -  May 28, 2007

Oh

 Respond  
cantseeme   -  May 27, 2007

Unfortunately, due to the requirements of posting on the boards I do not have enough posts.

 Respond  
Callison1   -  May 27, 2007

Ty =D subtle hint: Perhaps you could give me a score to reflect that?

 Respond  
cantseeme   -  May 27, 2007

Good job on this.

 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.