Hello,
Here is a simple spammer for all those who wants to play or want to have a fun. This might also help you to take revenge with anyone you want.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++ ;- Mass Spammer (Beta 0.7)
++ ;- Written by Sagar/mInDfReAkEr
++ ;- To spam, type /spam <word/phrase>
++ ;- Remember this is a BETA and there will be some bugs on it.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember :
I DON'T CARE what you do with this script but the credit for making this goes all to me :P xD
#######################################
#######################################
Suggestion? Bug? Help? Feel free to post ^_^
Thanks!
Have fun :D
;- Mass Spammer (Beta 0.7)
;- Written by Sagar/mInDfReAkEr
;- To spam, type /spam <nick> <word/phrase>
;- Remember this is a BETA and there will be some bugs on it.
on *:load:{
echo -at 4Mass Spammer Beta 0.7 by Sagar/IlLuSiOn/MindFreaker loaded.
echo -at 9Command Syntax is : /spam <nick> <word/phrase>
}
alias spam {
if ($1 == $null) { echo -at Syntax : /spam <nick> <word/phrase> }
elseif ($2 == $null) { echo -at Syntax : /spam <nick> <word/phrase>
}
else { msg $1 You will be spammed in 2 seconds...
timer 1 2 { halt }
echo -at Mass Spammer Activated! Target : $1 Spammed with : $2- 9,1Spam Meter : 16
msg $1 $2-
msg $1 $2-
msg $1 $2-
msg $1 $2-
msg $1 $2-
msg $1 $2-
msg $1 $2-
msg $1 $2-
msg $1 $2-
msg $1 $2-
msg $1 $2-
msg $1 $2-
msg $1 $2-
msg $1 $2-
msg $1 $2-
msg $1 $2-
}
}
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,..>
Suggestion:
alias spam {
if (!$1) || (!$2) {
echo -at Syntax : /spam <nick> <word/phrase>
}
else {
msg $1 You will be spammed every 2 seconds...
echo -at Mass Spammer Activated! Target : $1 Spammed with : $2- 9,1Spam Meter : 16
var %n = 1
while (%n <= 16) {
.timer 1 $calc(%n *2) msg $1 $2-
inc %n
}
}
}
EDIT - I made a minor mistake earlier.
An infinite timer would be more suiting. For example: "//timer 0 1" would send one command every one second(s) and so on. The "0" in the timer means that it will never end; it simply repeats the command every allotted amount of seconds, which in the example would be "1" second. That being said, be careful using such snippets, it could potentially attract unwanted attention.
Alias spam { .timer 0 $1 msg $2 $3- }
Trigger: /spam SECONDS TARGET MESSAGE
To turn off: /timersoff (I think, I can never remember the timer kill switch.)
Well it would also work this way good :)