mIRC Homepage
Posted By: Garou Help on settings - 12/07/07 05:23 PM
What are the available settings choice for this script?

Code:

on @*:join:#:{
  inc -u1 %opsjoin. [ $+ [ $chan ] ]
  if ( %opsjoin. == off ) || ( %opsjoin. == $null ) || ($nick isop #) { return }
  if ($nick == ChanServ || $nick == NickServ || $nick == MemoServ) { return }
  if (%opsjoin. [ $+ [ $chan ] ] >= 3) && (%opsjoin. [ $+ [ $chan ] ] <= 5) {
    .mode $chan +b $wildsite | unset %opsjoin. [ $+ [ $chan ] ] | halt
  }
  set -u3 %OPS. [ $+ [ $chan ] $+ . $+ [ $wildsite ] ] $calc( %OPS. [ $+ [ $chan ] $+ . $+ [ $wildsite ] ] + 1 )
  if ( %OPS. [ $+ [ $chan ] $+ . $+ [ $wildsite ] ] >= 3) {
     if ($nick isop #) return
    .mode $chan +b $wildsite
    .mode $chan +RMm | .timer666 1 60 .mode $chan -RMm
    set %OPS $nick($chan,0)
    unset %fastfilters
    :loop
    inc %fastfilters
    inc -u2 %3dad
    if (%3dad >= 4) halt
    if (%fastfilters > %OPS) halt
    set %temp.filter.kicks $ialchan($wildsite,$chan,%fastfilters).nick
    if (%temp.filter.kicks == $me) { goto loop }
    if (%temp.filter.kicks isop $chan) || (%temp.filter.kicks isvo $chan) { goto loop }
    if (%temp.filter.kicks ison $chan) kick $chan %temp.filter.kicks 10 Join FLood Detected
    goto loop
  }
}

 
Posted By: RusselB Re: Help on settings - 12/07/07 10:27 PM
If you don't know, then you, probably, didn't write the script.

A quick survey of the code shows me that there are a number of variables being set, and then (supposedly) compared, although I see a number of discrepencies between what is being set and what is actually being compared,

If you could tell us what it's supposed to be doing, we might be able to get you a better code.

BTW: It's generally considered to be bad form to use a script that you don't understand and/or don't trust the person that wrote it. As you're asking here about settings for the script, I'm going to presume that you don't know who wrote it and/or you can't contact them directly.
Posted By: Garou Re: Help on settings - 12/07/07 11:24 PM
I didnt write the script and I cant remember who did cause I added for sometime now. Its a join flood script I just wanted to learn how and where to change the settings.

Posted By: RusselB Re: Help on settings - 13/07/07 12:10 AM
This script isn't really written for one to be able to change the settings. You could change them in the code, but it would depend on exactly what you were wanting to change.

Looking at the code, it seems that there's information or code missing that would allow settings to be changed, such as if the code is active or not.
Posted By: Garou Re: Help on settings - 13/07/07 12:15 AM
Right now it will set mode for 60 sec and ban when 3 ip are the same on join. What I would prefer is to be able to change it to 8 join in 2 sec but not for the same ip users if this is possible.
Posted By: CitizenKane Re: Help on settings - 13/07/07 12:42 AM
...Why? Then the script would set off every time a netsplit reconnected.
Posted By: Garou Re: Help on settings - 13/07/07 10:36 PM
Ok thx guys.
© mIRC Discussion Forums