Advertisement
intersys

Untitled

Oct 19th, 2014
334
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.47 KB | None | 0 0
  1. alias Ranked {
  2.   var %count = $var(%GoodAnswer.*,0)
  3.   if ($window(@Sort,state)) { window -c @Sort }
  4.   window -h @Sort
  5.   while (%count) {
  6.     aline @Sort $var(%GoodAnswer.*,%count) $var(%GoodAnswer.*,%count).value
  7.     dec %count
  8.   }
  9.   filter -wwucte 2 32 @Sort @Sort *
  10.   var %x = 1
  11.   while (%x <= 5) {
  12.     echo -a Variable Name: $gettok($line(@Sort,%x),1,32) -- Value: $gettok($line(@Sort,%x),2,32) -- Name: $right($gettok($line(@Sort,%x),1,32),-5)
  13.     inc %x
  14.   }
  15.   window -c @Sort
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement