Join/Part Ban
Posted by bunkahumpa
Saturday, April 03, 2004
Description: Bans someone for 10 minutes (600 seconds) if they join/part a channel within 5 seconds

Replace #channel with your channel name.


on *:join:#channel:{
  set -u5 %joinpart. $+ $nick 1
}

on *:part:#channel:{
  if (%joinpart. [ $+ [ $nick ] ]) {
    ban -u600 $chan $nick
    msg $chan $nick was banned 10 minutes for join/parting.
  }
}
Um..
Posted by mlr`
Thursday, April 15, 2004 08:12pm PDT
where do i put it? in remote/alias/etc..?
Um..
Posted by mlr`
Thursday, April 15, 2004 08:12pm PDT
where do i put it? in remote/alias/etc..?
Here...
Posted by straightz
Tuesday, June 15, 2004 07:05pm PDT
Remote.
correction
Posted by Fubar
Sunday, August 08, 2004 06:52pm PDT
%joinpart. $+ $nick 1 on the first part should also be %joinpart. [ $+ [ $nick ] ] shouldn't it?
nope
Posted by Ryan
Sunday, July 03, 2005 11:53am PDT
no it works
Same..
Posted by camz
Sunday, January 28, 2007 05:16am PST
%joinpart. $+ $nick 1 does the same thing as %joinpart. [ $+ [ $nick ] ] just in some scripts it identifies it with the "["
Submit a comment
Oops! You need to login or register before you can post a comment!

ebaum's world