Trout Slap Revenge

By Fuzion on Jun 18, 2009

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
}

Comments

Sign in to comment.
Jonesy44   -  Jun 18, 2009

Jethro. if you said /me slaps nick - and that triggered the "steal trout" script, it would make no logical sense. I'm not saying the script doesn't work - just the logic is a bit bizare.

 Respond  
napa182   -  Jun 18, 2009

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...

 Respond  
Jethro   -  Jun 18, 2009

Well, it works for me. It should get triggered on a sentence consists of slap or slaps a bit with a large trout.

 Respond  
Jonesy44   -  Jun 18, 2009

Jethro_: You need slap & trout in the first line really - otherwise it doesn't make sense.

 Respond  
Rab   -  Jun 18, 2009

didn't work? This should :D


on *:ACTION:(slap|slaps):#: {
  .inc %troutslap 1
  .describe # Takes the trout out of $nick $+ 's hand and Beats the hell out of them! You are the %troutslap Person I have beaten to death with a trout! 
 Respond  
Fuzion   -  Jun 18, 2009

your code doesn't work jethro

 Respond  
Jethro   -  Jun 18, 2009

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.
}
 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.