Anti-guest Script v1.0

By Master-Of-Death on Dec 14, 2009

ugh like i need to say but paste it in your remotes.

type /add
type /del

to add and remove users if needed.

on @*:JOIN:#:{ raw -q MODE # +v $nick
  if (Guest* iswm $nick) { 
    raw -q kick # $nick lrn2ident (blacklisted)
    .add $nick
  }
}
on *:NICK:{ if (Guest* iswm $newnick) {
    raw -q KICK # $newnick lrn2ident (Blacklisted)
    .add $newnick
  }
}
alias add { if (!$1) {
    .auser -a loser $nick
    if ($nick ison #) { 
      raw -q kick # $nick Blacklist
      .mode # +b $address($nick,2)
    }
  }
  else { 
    .auser -a loser $1
    if ($1 ison #) {
      raw -q kick # $1 Blacklist
      .mode # +b $address($1,2)
    }
  }
}
alias del {
  .ruser $1
}
on loser:JOIN:#:{ 
  Ban -ku60 $nick 2 (Blacklisted)60 second ban)
}

Comments

Sign in to comment.
Master-Of-Death   -  Dec 15, 2009

true, I guess i'm old fashioned.

 Respond  
Jethro   -  Dec 15, 2009

Besides $address($nick,2) you can also use $wildsite

 Respond  
Master-Of-Death   -  Dec 15, 2009

I edited the ban type from

$address(nick,3) to $address($nick,2)

I also added the on join auser bit ever so slightly.

 Respond  
Master-Of-Death   -  Dec 15, 2009

oh as for the +, yes that exists but alot of users have unregistered nicks so it would mean excluding a large amount of our community.

 Respond  
Master-Of-Death   -  Dec 15, 2009

yea, i removed the errors it is a script I use for my chans I forgot to get rid of the names.

@FordLawnmower
The point of blacklisting the nick is that when they identify the rejoin, unless they still using a guest nick, then it'll get banned, it's like a warning system.

 Respond  
Jethro   -  Dec 15, 2009

Silo, you might want to include a check to see if the R mode has already been set:

if (R isincs $chanmodes) $iif($+(+,$v1) !isincs $chan(#).mode,mode # $v1)
 Respond  
Silo   -  Dec 14, 2009

if (R isincs $chanmodes) mode # +R

 Respond  
FordLawnmower   -  Dec 14, 2009

Well all servers don't use Guest for this. Only one out of the five that I am on does.
Why would you want to Blacklist someone because they didn't identify in time?

Also, there is a LOT of errors in this script Master-Of-Death, you should really take a good look at it.

 Respond  
Silo   -  Dec 14, 2009

If someone doesn't auth with Nickserv or whatever service and they're designated a Guest nickname it will remove them from the channel, but you know that already. Couldnt you just do that with one or two lines though? I could be wrong bit doesn't the .auser bit seem kind of pointless? Just kick & ban on join.

 Respond  
FordLawnmower   -  Dec 14, 2009

What is the point of this script Master-Of-Death?

 Respond  
Silo   -  Dec 14, 2009

if ($nick ison #tug) Should that be there?

tue <-- should that just be #?

lrn2ident <-- is that a custom alias or "Learn to identify"?

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.