knoeki commented on a Page, Insults  -  Apr 20, 2009

This is quite horrible... why not put all the insults in a textfile, and then do something like this:

on *:TEXT:!insult*:#: {
   if ($2 == $null) {
      msg $chan Hey $+($nick,...) $read(insults.txt)
   }
   else {
      msg $chan Hey $+($2,...) $read(insults.txt)
   }
}

much cleaner, much less work to update.

also, you claim you didn't test this... maybe you should try to read the snippet uploading rules?

 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.