i need a faster better away flood protection than i am using now .........i'm using a edited version of hybrids but the script floods out before it can kick the flooder . any ideas ????
A TG007 community discussion started by bottombouncer.
i need a faster better away flood protection than i am using now .........i'm using a edited version of hybrids but the script floods out before it can kick the flooder . any ideas ????
try this.....
raw 822:*:{ if ($nick isowner $comchan($nick,1)) || ($$ial($nick $+ *,1).addr == $gettok($read(protect.txt, w,* $+ $$ial($nick $+ *,1).addr $+ * ),1,32)) halt
 if (!%awayflood. [ $+ [ $nick ] ]) {
  set -u10 %awayflood. [ $+ [ $nick ] ] 1
 }
 else { inc %awayflood. [ $+ [ $nick ] ] }
 if (%awayflood. [ $+ [ $nick ] ] == 3) {
  kick $comchan($me,1) $nick Don't be a Lamer, no away floods here. Once is enough.
  unset %awayflood. [ $+ [ $nick ] ]
 }
}
raw 821:*:{ if ($nick isowner $comchan($nick,1)) || ($$ial($nick $+ *,1).addr == $gettok($read(protect.txt, w,* $+ $$ial($nick $+ *,1).addr $+ * ),1,32)) halt
 if (!%unawayflood. [ $+ [ $nick ] ]) {
  set -u10 %unawayflood. [ $+ [ $nick ] ] 1
 }
 else { inc %unawayflood. [ $+ [ $nick ] ] }
 if (%unawayflood. [ $+ [ $nick ] ] == 3) {
  kick $comchan($me,1) $nick Don't be a Lamer, no away floods here. Once is enough.
  unset %unawayflood. [ $+ [ $nick ] ]
 }
}
If the code above is not what ya looking for try this one. add the 1st part to ya menubar and the 2nd part to ya remotes. This code is from Vulturo's Superkicker Script..
********************************************************************
1st - Add to Menubar
********************************************************************
=Away Flood Protection= ( $+ $group(#awayflood) $+ )
..&On: {
.enable #awayflood
msg # Away Flood Protection Enabled
echo -s 11Away Flood Protection Enabled
}
..&Off: {
.disable #awayflood
msg # Away Flood Protection Disabled
echo -s 11Away Flood Protection Disabled
}
********************************************************************
2nd - Add to Remotes
********************************************************************
#awayflood off
raw 821:*: { if ($nick isowner $active) return
inc -u3 [ [ % ] $+ [ stateflood ] $+ [ . ] $+ [ $nick ] ] 1
if ([ [ % ] $+ [ stateflood ] $+ [ . ] $+ [ $nick ] ] == 3 ) {
access $comchan($nick,1) add deny $nick 15
kick $comchan($nick,1) $nick It seriously pisses me when you Awayflood :@ ( 15 min ban )
}
}
raw 822:*: { if ($nick isowner $active) return
inc -u3 [ [ % ] $+ [ stateflood ] $+ [ . ] $+ [ $nick ] ] 1
if ([ [ % ] $+ [ stateflood ] $+ [ . ] $+ [ $nick ] ] == 3 ) {
access $comchan($nick,1) add deny $nick 15
kick $comchan($nick,1) $nick It seriously pisses me when you Awayflood :@ ( 15 min ban )
}
}
#awayflood end
thanks guys ........the first code is rumbar's that i am already using .......works sometimes but most often the script floods out before it works ........
the second code i'll give a try but it looks to be the same as the first in ozzy's coding .........either way i'll give it a try ......still havent figured out why the script floods out before it kicks or right after it kicks
well the code has never flooded me out...........no matter what type of away flood it was........vincula itself can get flooded out really quick..maybe u need to use a better and more stable connection....
I have allways used vincula and its never been flooded out on an away/return flood
My code does NOT have bugs. It just develops random features.
raw 821:*: { if ($nick isop #) || ($$ial($nick $+ *,1).addr == $gettok($read(protect.txt, w,* $+ $$ial($nick $+ *,1).addr $+ * ),1,32)) return |
if ($nick isowner $active) return
set -u2 %awa. [ $+ [ $nick ] ] $calc( %awa. [ $+ [ $nick ] ] + 1 )
if (%awa. [ $+ [ $nick ] ] == 3) {
access $active ADD DENY $address 5 | /kick $active $nick : Flood Deny
haltdef
}
}
raw 822:*: { if ($nick isop #) || ($$ial($nick $+ *,1).addr == $gettok($read(protect.txt, w,* $+ $$ial($nick $+ *,1).addr $+ * ),1,32)) return |
if ($nick isowner $active) return
set -u2 %awa. [ $+ [ $nick ] ] $calc( %awa. [ $+ [ $nick ] ] + 1 )
if (%awa. [ $+ [ $nick ] ] == 3) {
access $active ADD DENY $address 5 | /kick $active $nick : Flood Deny
haltdef
}
}
Now if any one gets flooded out because of an Away / Return flood its got to be something else... May be you need to check your Mirc settings for flood out.. I know I have played around with it and if you set it wrong you can get flooded out the code from Hybrid, Kenobi etc all work perfect nothing at all wrong with them..
Check your private messages
Sign in to reply or start a new topic where your account has permission.