Advertisement
Seb

Loaded Scripts

Seb
May 28th, 2011
620
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.85 KB | None | 0 0
  1. # Script made by SanitariuM (when he was sane) on undernet
  2. # Distributed and slightly modified by xplo
  3. # You know the drill..
  4. ###########################################################
  5.  
  6. alias db {
  7.   var %aliases.total, %aliases.lines, %aliases.size
  8.   var %remote.total, %remote.lines, %remote.size
  9.   var %x = 1, %y
  10.   %aliases.total = $alias(0)
  11.   while (%x <= %aliases.total) {
  12.     %y = $alias(%x)
  13.     inc %aliases.lines $lines(%y)
  14.     inc %aliases.size $file(%y).size
  15.     inc %x 1
  16.   }
  17.   %x = 1
  18.   %remote.total = $script(0)
  19.   while (%x <= %remote.total) {
  20.     %y = $script(%x)
  21.     inc %remote.lines $lines(%y)
  22.     inc %remote.size $file(%y).size
  23.     inc %x 1
  24.   }
  25.   say [Aliases] %aliases.total files, %aliases.lines lines, $bytes(%aliases.size,k) $+ kb
  26.   say [Remote] %remote.total files, %remote.lines lines, $bytes(%remote.size,k) $+ kb
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement