mIRC Home    About    Download    Register    News    Help

Print Thread
Drive-by / Fly-by script #186829 27/09/07 03:47 AM
Joined: Sep 2006
Posts: 11
noir Offline OP
Pikka bird
OP Offline
Pikka bird
Joined: Sep 2006
Posts: 11
I'm looking for a drive-by script, one that will temporary ban someone from a channel (say 20minutes or so)then automatically unban them - if they jump in and out of channel.

Could anyone direct me on where I might be able to find one, please?

Thank you in advance.

-noir


Script Challenged.
Re: Drive-by / Fly-by script [Re: noir] #186832 27/09/07 06:11 AM
Joined: Jun 2006
Posts: 508
D
deegee Offline
Fjord artisan
Offline
Fjord artisan
D
Joined: Jun 2006
Posts: 508
This sets a var when user joins for 30secs (you can adjust the time here "inc -u30 ...")
When user parts if the var is still set, the user is banned for 1200 secs (ban -u1200 # ...")
Code:
on @*:join:#:{
  inc -u30 $+(%,flyby,$cid,#,.,$site)
}
on @!*:part:#:{
  if $($+(%,flyby,$cid,#,.,$site),2) { ban -u1200 # $wildsite }
}

Re: Drive-by / Fly-by script [Re: deegee] #186849 27/09/07 02:33 PM
Joined: Sep 2006
Posts: 11
noir Offline OP
Pikka bird
OP Offline
Pikka bird
Joined: Sep 2006
Posts: 11
Thank you so very much, deegee.

If I may ask, please - would that script cover any and all channels I op in? Or would it be a specific channel?

Again, thank you.


Script Challenged.
Re: Drive-by / Fly-by script [Re: noir] #186863 27/09/07 04:23 PM
Joined: Dec 2002
Posts: 3,547
S
SladeKraven Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
That triggers on any channel you are currently opped in.