on 1*:JOIN:#:{
set -u60 $+(%,chan.,joinpart.,$address) 1
}
on 1:TEXT:*:#:{
if ($($+(%,chan.,joinpart.,$address),2)) {
unset $+(%,chan.,joinpart.,$address)
}
}
on 1:PART:#:{
if ($($+(%,chan.,joinpart.,$address),2)) {
set -u5 %flyby.flood [ $+ [ $chan ] ] 5
/ban -u1800 $chan $address
notice $nick [- Banned From $chan ][Reason: FlyBy ][ Time: 30 Minutes -]
msg $chan [- Banned From $chan ][Reason: FlyBy ][ Time: 30 Minutes -]
}
}
Page 1 of 1
Flyby Ban flyby or timed ban
#1
Posted 21 January 2010 - 06:39 AM
Hi all I got this script its for flyby ban in my room I don't know why its not working right. It will ban the nicks and addresses but wont unban them not sure why maybe I wrote it wrong? It is supposed to ban them for 30mins then unban them here is the script. any help would be appreciated. thanks in advance.
#2
Posted 21 January 2010 - 07:03 PM
We have tested this script and it seems to work just fine. Maybe you could give us some more info on what hapens when you use it. I would also add an ON QUIT section to this script.
#3
Posted 21 January 2010 - 08:10 PM
ok i had a sgentle min rewrite it for me thats knows more then me.
here is the new script.
here is the new script.
on 1:JOIN:#: {
if ($me isop #) {
set -u60 $+(%flyby.,$address($nick)) waiting
}
}
on 1:TEXT:*:#: {
if ($me isop #) {
unset $+(%flyby.,$address($nick))
}
}
on 1:PART:#: {
if ($me isop #) && $+(%flyby.,$address($nick)) {
ban -u1800 # $nick 3
notice $nick [- Banned From $chan ][Reason: FlyBy ][ Time: 30 Minutes -]
msg $chan [- Banned From $chan ][Reason: FlyBy ][ Time: 30 Minutes -]
}
}
#4
Posted 21 January 2010 - 08:12 PM
Anthony, on 21 January 2010 - 07:03 PM, said:
We have tested this script and it seems to work just fine. Maybe you could give us some more info on what hapens when you use it. I would also add an ON QUIT section to this script.
hi Anthony
Thnaks for the info Iam not a good script writer I had someone better then me look at it and he didn't like it so he rewrote. seems to work now before it would ban sometimes and not others. and if it did ban it wouldn't unban them at all.
turns out my mirc was just to old to work with the script its fixed now i upgraded the mirc thanks guys by the way the first script works the best.
Page 1 of 1

Sign In
Register
Help


MultiQuote