Top

FlyBy ban


mIRC Code
+ 0 likes
Please Register to submit score.
Average Score  4.0
Scores Submitted  4
Date Added  Nov 21, 2007
Last Updated  Nov 21, 2007
Tags  ban  join  kick  part  timer 

Introduction

this is how a flyby script should look for simplicity and total effectiveness.

yes i know i have used /msg instead of /echo -a but that was intentional.

this script is aimed at total newcomers.

just change the channel to what you want it too on both JOIN and PART.

the first variable (-u30) is the timer for the script to trigger.. here it is 30secs. if they leave before that time is up, it then bans with the (-u600) timer. that means after 10mins... it will unset the ban automatically.

the /msg is just there to show in channel what has happened. to make it look "more professional" i just need to change /msg to /echo -a. does the same thing. so i dont care. :P

Comments people?


Grab the Code

Comments

  (4)  RSS
Lindrian
Comments: 729
 
mIRC Snippet:  FlyBy ban
Posted on Nov 22, 2007 9:13 am
How about:
Code:

on !@*:JOIN:#chan: {
  if (!$hfind(flyby,$+(*,$wildsite,*),1,w)) hadd -mu10 flyby $calc($hget(flyby,0).item + 1) $wildsite
}
on !@*:PART:#chan: {
  if ($hfind(flyby,$+(*,$nick,*),1,w).data) {
    ban -u600 $chan $nick
  }
}

Now, it can be made much better, to work with several channels etc etc, i just made one to match up with what u did.
Lindrian
Comments: 729
 
mIRC Snippet:  FlyBy ban
Posted on Nov 22, 2007 9:14 am
Hm sorry for the doubble post, I used $nick and not $wildsite on the part event, my bad.
Cheiron
Comments: 252
 
mIRC Snippet:  FlyBy ban
Posted on Nov 22, 2007 5:14 pm
tuts .... :P bit more complex than what i was looking for but not many people own more than one room these days that are active enough to warrent something that complex. i own 2 rooms that have 30-45 people at any one time in them. but only require the flyby in one channel.

nice idea though. thanks :) how abouts a score :)
EL
Comments: 1,210
 
mIRC Snippet:  FlyBy ban
Posted on Dec 19, 2007 12:10 pm
Works well not sure if i wanna ban ppl for just coming an goin lol to get anyone is nice on my small server, 2 channels an 30-45 ppl, we don\'t even get that many on the whole server,its new been attacked by morons a couple times ya know hard to get goin but ya bad to the code here.But i can see it being effective in high traffic channels tho big network maybe and yeah it\'s less complicated so some one useing it may be able to learn from it and make it into something else.Good work and useful 8/10.`-.-´

Please Register or Login to start posting comments.
Bottom