Guest User

Untitled

a guest
Mar 16th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.37 KB | None | 0 0
  1. on *:text:*:#:{
  2.     if ($1 == !zerms) {
  3.  
  4.         if (%z0r == $null) {
  5.             %z0r = $ctime
  6.             .z0rread $chan
  7.         }
  8.  
  9.         if ($calc($ctime - %z0r) >= 1800) {
  10.             .z0rread $chan
  11.         }
  12.         else {
  13.             .ban -k $chan $nick Don't spam !zerms
  14.         }
  15.     }
  16. }
  17.  
  18. alias z0rread {
  19.     %chan = $1
  20.     %x = 1
  21.     %lines = $lines(H:\mother.txt)
  22.  
  23.     while (%x <= %lines) {
  24.         .msg %chan $read(H:\mother.txt, %x)
  25.     }
  26. }
Add Comment
Please, Sign In to add comment