kiri commented on a Page, Mass Spammer 0.7 Beta (For Fun/Revenge)  -  Apr 27, 2012

Jethro your code is correct but you pasted color-code $2-

here's what I'll do :
//spam notice $me 2 10 5 test

alias spam {
  if !$1 || !$2 || !$3 || !$4 || !$5 || !$6 || !$regex($1,/(msg|notice)/i) || $3 !isnum || $4 !isnum || $5 !isnum { echo -at Syntax : /spam <msg|notice> <nick,nicks,...> <number of lines> <how often repeat on the same line>  <all the time x> <text> }
  else {
    $+($chr(46),$1) $2 You will be spammed all the $duration($5)
    var %n = 1, %n1 = $3
    while (%n <= %n1) {
      .timer 1 $5 $+($chr(46),$1) $2 $str($$6- $+ $chr(32) , $+ $4 $+ )
      inc %n
    }
  }
}

the code is not specifically optimized but it shows the possibilities in a few lines
can be used a $istok instead of regex ( !$istok(msg.notice,$1,46) )
what is practical is done you can send your message to several people <nick1,nick2,..>

 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.