Advertisement
iPeer

Untitled

Jul 14th, 2011
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.76 KB | None | 0 0
  1. alias mc1 return $+($chr(03),14,$1-)
  2. alias mc2 return $+($chr(03),13,$1-)
  3. alias mcstats {
  4.   if (!$exists(mcstats.ini)) { echo -tg CRITICAL: mcstats.ini not found! | halt }
  5.   if (!$readini(mcstatssettings.ini,stats,file) || $1 == -f) { writeini mcstatssettings.ini stats file $$sfile(*.dat,Select your stats file from your minecraft install directory to continue,Continue) }
  6.   if ($window(@mcstats)) { clear @mcstats | window -a @mcstats }
  7.   else { window @mcstats }
  8.   var %l 1, %f $readini(mcstatssettings.ini,stats,file)
  9.   while ($read(%f,%l)) {
  10.     noop $regex($v1,\{"([0-9]+)":([0-9]+)\})
  11.     var %id $regml(1), %a $regml(2)
  12.     if ($readini(mcstats.ini,%id,name)) {
  13.       echo @mcstats $+($mc1($v1),:,$chr(32),$mc2($bytes(%a,b)))
  14.     }
  15.     inc %l
  16.   }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement