I found this trout reply a webpage somewhere, i like the idea of it but felt it flooded a bit when people slapped other people, so was thinking how to edit this coding so that when people slap me with a trout it will reply back if not me then don't respond

on *:ACTION:*:#:{
if ($1 == slaps) && ($3-9 == around a bit with a large trout) && (!$10) {
;here it checks so it's the original slap that's in mirc.
if (%trout.temp) { inc %trout }
;checks if the %trout.temp variable exists, if it does, it increases %trout. This is added, so you can't be flooded off, but you still save the trout, except you dont tell the channel about it. smile
else {
set -u10 %trout.temp 1
;sets the flood-protection-varaible, and it will be automaticly unset after 10 seconds.
inc %trout
;saves the trout
describe $chan takes the trout from $nick and puts it back in the river. Now I've saved %trout trout.
;tells the channel that you saved another trout smile
}
}
}