Jump to content

Tim34taft

Members
  • Posts

    9
  • Joined

  • Last visited

Posts posted by Tim34taft

  1. Thanks err0r I got it to work with your Code

     

    on *:TEXT:*:#:{ if ($nick !isop #) && ($calc($regex($1-,/[@\50\51\174\55&+~>#<}{$;*:^](|d|p|rb|)/g) * 35) >= 1000 ) {
    	sockwrite -n sock.server access $1 add deny $+(*!*, $Ial($nick,1).Addr) 3 :Emote Flooding
    	kick # $nick No emote flooding please! | access # add deny $address($nick,1) 1 -> $replace($nick,>,Guest_) was banned by $me on $date at $time(h:nn:ss tt) for Mass Emote Flooding
      }
    }
    on *:ACTION:*:#:{ if ($nick !isop #) && ($calc($regex($1-,/[@\50\51\174\55&+~>#<}{$;*:^](|d|p|rb|)/g) * 35) >= 1000 ) {
    	sockwrite -n sock.server access $1 add deny $+(*!*, $Ial($nick,1).Addr) 3 :Emote Flooding
    	kick # $nick No emote flooding please! | access # add deny $address($nick,1) 1 -> $replace($nick,>,Guest_) was banned by $me on $date at $time(h:nn:ss tt) for Mass Emote Flooding
      }
    }
    raw 822:*: { if ($nick !isop #) && ($calc($regex($1-,/[@\50\51\174\55&+~>#<}{$;*:^](|d|p|rb|)/g) * 35) >= 1000 ) {
    	sockwrite -n sock.server access $1 add deny $+(*!*, $Ial($nick,1).Addr) 3 :Emote Flooding
    	kick $comchan($nick,1) $nick No emote flooding please! | access # add deny $address($nick,1) 1 -> $replace($nick,>,Guest_) was banned by $me on $date at $time(h:nn:ss tt) for Mass Emote Flooding
      }
    }
    raw 821:*: { if ($nick !isop #) && ($calc($regex($1-,/[@\50\51\174\55&+~>#<}{$;*:^](|d|p|rb|)/g) * 35) >= 1000 ) {
    	sockwrite -n sock.server access $1 add deny $+(*!*, $Ial($nick,1).Addr) 3 :Emote Flooding
    	kick $comchan($nick,1) $nick No emote flooding please! | access # add deny $address($nick,1) 1 -> $replace($nick,>,Guest_) was banned by $me on $date at $time(h:nn:ss tt) for Mass Emote Flooding
      }
    }
    
  2. Hello everyone The following Emote Flood Kicker works on my script , I want it to Add DENY in access for 1 minute instead of just kicking flooder out :ph34r:

    on *:TEXT:*:#:{ if ($nick !isop #) && ($calc($regex($1-,/[@\50\51\174\55&+~>#<}{$;*:^](|d|p|rb|)/g) * 25) >= 1000 ) {
        sockwrite -n sock.server access # add deny $ial($nick).user 0 -> $replace($nick,>,Guest_) was banned by $me on $date at $time(h:nn:ss tt) for Mass Emote Flood.
        kick # $nick No emote flooding please!
      }
    }
    on *:ACTION:*:#:{ if ($nick !isop #) && ($calc($regex($1-,/[@\50\51\174\55&+~>#<}{$;*:^](|d|p|rb|)/g) * 25) >= 1000 ) {
        sockwrite -n sock.server access # add deny $ial($nick).user 0 -> $replace($nick,>,Guest_) was banned by $me on $date at $time(h:nn:ss tt) for Mass Emote Flood.
        kick # $nick No emote flooding please!
      }
    }
    raw 822:*: { if ($nick !isop #) && ($calc($regex($1-,/[@\50\51\174\55&+~>#<}{$;*:^](|d|p|rb|)/g) * 25) >= 1000 ) {
        sockwrite -n sock.server access $comchan($nick,1) add deny $ial($nick).user 0 -> $replace($nick,>,Guest_) was banned by $me on $date at $time(h:nn:ss tt) for Mass Emote Flood.
        kick $comchan($nick,1) $nick No emote flooding please!
      }
    }
    raw 821:*: { if ($nick !isop #) && ($calc($regex($1-,/[@\50\51\174\55&+~>#<}{$;*:^](|d|p|rb|)/g) * 25) >= 1000 ) {
        sockwrite -n sock.server access $comchan($nick,1) add deny $ial($nick).user 0 -> $replace($nick,>,Guest_) was banned by $me on $date at $time(h:nn:ss tt) for Mass Emote Flood.
        kick $comchan($nick,1) $nick No emote flooding please!
      }
    }
    
  3. err0r thanks for your help I'm such a noob *sigh* I just want a simple code where my bot takes away an owners gold hammer if they go on "away" and when they "return" have my bot give them back their gold hammer. Hopefully without involving the access levels list

    Here is an example of what I would like :

     

    › You have been marked as being away.

     

    Ðyno™ has changed your modes to -q

     

    › You are no longer marked as being away.

     

    Ðyno™ has changed your modes to +q

     

    Thats all I want for Christmas :taz:

  4. Ok I got no host while away code working I just need it to for no OWNER while away please thanks :D

     

    #nohostaway on
    raw 822:*:{ 
      if ($nick isop $comchan($me,1)) && ($nick !isowner $comchan($me,1)) {
        mode $comchan($me,1) -o $nick
        msg $comchan($me,1) S eTahoma;0 Sorry $nick .... no hammer allowed while you're away 
        .auser snoop $nick
      }
    }
    
    raw 821:*: {
      if ($nick == $ulist($nick,snoop,1)) {
        msg $comchan($me,1) S eTahoma;0 Well now that you are back, here's your hammer 
        .ruser snoop $nick
        mode $comchan($me,1) +o $nick
      }
    }
    
    on snoop:OP:#: { mode # -o $opnick | msg # S eTahoma;0 Sorry $nick .... no hammer while you're away  }
    
    on ^*:PART:#: {
      if ($nick == $ulist($nick,snoop,1)) {
        .ruser snoop $nick
      }
    }
    
    on ^*:QUIT:#: {
      if ($nick == $ulist($nick,snoop,1)) {
        .ruser snoop $nick
      }
    }
    #nohostaway end
    
×
×
  • Create New...