mIRC Home    About    Download    Register    News    Help

Print Thread
#233720 06/09/11 08:29 PM
Joined: Apr 2011
Posts: 11
K
KBN Offline OP
Pikka bird
OP Offline
Pikka bird
K
Joined: Apr 2011
Posts: 11
How would you make the script when someone auto rejoins after kick the script will kick and ban them for like 5 or 10 seconds?

Joined: Mar 2004
Posts: 526
Fjord artisan
Offline
Fjord artisan
Joined: Mar 2004
Posts: 526
Do not reinvent the wheel. check the mirc scripting sites on the web, there are several scripts out there that will do this.

use google to search for 'mIRC AND script'

Have fun.


Help others! It makes the world a better place, Makes you feel good, and makes you Healthy!
Joined: Jul 2007
Posts: 1,129
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Jul 2007
Posts: 1,129
Code:
on @*:join:#:{
  if ($istok(%bnick,$wildsite,32)) {
    ban -ku10 # $nick 2 You were kicked!
  }
}
on @*:unban:#:{
  if ($istok(%bnick,$banmask,32)) {
    set %bnick $remtok(%bnick,$banmask,1,32)
  }
}
on @*:kick:#:{
  if ($knick != $me) {
    set %bnick $addtok(%bnick,$address($knick,2),32)
  }
}



Link Copied to Clipboard