Jump to content

Whispers Help


CharmedOne

Recommended Posts

I got a issue I will explain it. I am using whats called the Tewl connection by the way. :pizza:

 

 

 

OK Issue is my whisper flood kick is slow at kicking is there a way I can make it a little more sensitive.

 

#whisperflood on
raw whisper:*: {
  if ($nick isowner $chan) { return }
  elseif (%fk. [ $+ [ $nick ] ] == $1-) {
    .raw kick $comchan($nick,1) $nick Scrolling In Whisper
  }
  else {
    set -u2 %fk. [ $+ [ $nick ] ] $1-
  }
}
#whisperflood end

Edited by CharmedOne
Link to comment
Share on other sites

if ($nick isowner $chan) { return }

 

this wont work, thereis no $chan in a raw whisper event.

 

Your code will kick them if they say the exact same thing within 2 seconds. Is that what you want? Maybe you need to make it 5 seconds.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...