This is a killbot, probably not the best coded ever (not probably, 100% sure is not), but it works...
Paste in your remotes as usual, and type !kill to give it a try.
on *:text:*!kill *:%bot-fun:{
/set %kill $rand(1,4)
/set %bf $rand(1,4)
if ( %kill == 1 ) {
/set %ataque died from the wounds you have inflicted. He's swimming with the fishes now.
/set %defensa tried to strike back but failed completely.
/msg %bot-fun 7 $$2 %ataque
/msg %bot-fun 7 $$2 %defensa
}
if ( %kill == 2 ) {
/set %ataque died from the wounds you have inflicted. He's swimming with the fishes now.
/set %defensa couldn't contain 7 $$2's backfire. 7 $nick died from the wounds he inflicted.
/msg %bot-fun 7 $$2 %ataque
/msg %bot-fun 7 $nick %defensa
}
if ( %kill == 3 ) {
/set %ataque Suffered but is still alive.
/set %defensa couldn't contain 7 $$2's backfire. 7 $nick died from the wounds he inflicted.
/msg %bot-fun 7 $$2 %ataque
/msg %bot-fun 7 $nick %defensa
}
if ( %kill == 4 ) {
/set %ataque Suffered but is still alive.
/set %defensa tried to strike back but failed completely.
/msg %bot-fun 7 $$2 %ataque
/msg %bot-fun 7 $$2 %defensa
}
}
on *:text:!kill *:#:{
var %kill $rand(1,4), %y msg $chan
if ( %kill isnum 1-2 ) {
%y $$2 died from the wounds you have inflicted. He's swimming with the fishes now.
%y $replace(%kill, 1, tried to strike back but failed completely, 2, couldn't contain $$2 backfire. 7 $nick died from the wounds he inflicted)
}
if ( %kill isnum 3-4 ) {
%y $$2 Suffered but is still alive.
%y $nick $replace(%kill, 3, couldn't contain 7 $$2's backfire. 7 $nick died from the wounds he inflicted., 4, tried to strike back but failed completely.)
}
}
/quit I was killed by $nick
}
I would add the quit just for a laugh but thats me lol
a simple edit for this,
why set many vars to this? by the way, where is the var for %bot-fun?
and when the var %bf is called on script?
on *:text:!kill *:#:{
var %kill $rand(1,4), %y msg $chan
if ( %kill isnum 1-2 ) {
%y $$2 died from the wounds you have inflicted. He's swimming with the fishes now.
%y $replace(%kill, 1, tried to strike back but failed completely, 2, couldn't contain $$2 backfire. 7 $nick died from the wounds he inflicted)
}
if ( %kill isnum 3-4 ) {
%y $$2 Suffered but is still alive.
%y $nick $replace(%kill, 3, couldn't contain 7 $$2's backfire. 7 $nick died from the wounds he inflicted., 4, tried to strike back but failed completely.)
}
}
for those genious that will say something, i will not do it using regex
and i didnt forget about a ''flood protection''
by the way, as i said, simple edit based on his code