Advertisement
Skreffnet

comando que te permite listar las tablas hash

Jul 17th, 2022
2,693
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.55 KB | None | 0 0
  1. alias hlist {
  2.   var %i = $hget(0)
  3.   if %i { echo $color(info text) -at Hay un total de %i tablas hash | echo -a $chr(160) }
  4.   else { echo $color(info text) -at ¡No hay tablas hash! | halt }
  5.   while %i {
  6.     var %x = $hget(%i,0).item
  7.     echo $color(info2 text) -at $hget(%i) $iif($regex($1,^-i$),Tamaño $hget(%i).size usado: %x)
  8.     while %x {
  9.       echo $color(info2 text) -at $str($chr(160),3) $hget(%i,%x).item = $hget(%i,%x).data
  10.       dec %x 1
  11.     }
  12.     echo -a $chr(160)
  13.     dec %i 1
  14.   }
  15.   echo $color(info text) -at Fin de Hlist  
  16. }
  17.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement