mIRC Home    About    Download    Register    News    Help

Print Thread
#157132 22/08/06 05:16 PM
Joined: Jul 2006
Posts: 6
D
DeXXa Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
D
Joined: Jul 2006
Posts: 6
Code:
 on @*:text:*:#:{
  var %messages = 5, %time = 3
  inc -u $+ %time $+(%,flood.,$cid,$chan,$wildsite)
  if ($eval($+(%,flood.,$cid,$chan,$wildsite),2) == %messages) ban -k $chan $nick 2 4Flooding - 5 lines in 3 seconds.
}
 


Hey - I also posted this in an old thread, but it doesn't seem to bump old threads blush

So, I am here to proof 1s again that I am stupid cool

How can I put a timer in the script above, so it removes the ban after like 300 seconds??

#157133 22/08/06 05:57 PM
Joined: Apr 2006
Posts: 464
O
Fjord artisan
Offline
Fjord artisan
O
Joined: Apr 2006
Posts: 464
Change
ban -k $chan
To
ban -ku300 $chan

#157134 22/08/06 06:01 PM
Joined: Jul 2006
Posts: 6
D
DeXXa Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
D
Joined: Jul 2006
Posts: 6
yo bedankt!


Link Copied to Clipboard