well here is my version of Trout Slap, it count's how many people you beat up :) hope you all like just place in remotes and where it says
if ($network != Auswave) { return }
just replace with your network
on *:ACTION:$($+(*,slaps,*,around,*,a,*,bit,*,with,*,large,*,trout,*)):#:{
if ($network != Auswave) { return }
.set %troutslap $calc(1 + %troutslap)
describe $Chan Takes the trout and Beats the hell out of $nick $+ . You are the $ord(%troutslap) Person I have beaten to death with a trout
}
added flood pro
an why use
.set %troutslap $calc(1 + %troutslap)
when you can use
inc %troutslap
on *:ACTION:$($+(*,slaps,*,trout,*)):#:{
if (!$($+(%,troutF,$nick),2)) {
set -u3 $+(%,troutF,$nick) on
inc %troutslap
describe $Chan Takes the trout and Beats the hell out of $nick $+ . $&
You are the $ord(%troutslap) Person I have beaten to death with a trout
}
}
but w/e eh...
Why do you include a range of words to match for slapping? This is all you need:
on *:ACTION:$($+(*,slap,*)):#:{
.set %troutslap $calc(1 + %troutslap)
.describe $chan Takes the trout and Beats $&
the hell out of $nick $+ . You are the $ord(%troutslap) $&
Person I have beaten to death with a trout.
}