Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alias mc1 return $+($chr(03),14,$1-)
- alias mc2 return $+($chr(03),13,$1-)
- alias mcstats {
- if (!$exists(mcstats.ini)) { echo -tg CRITICAL: mcstats.ini not found! | halt }
- 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) }
- if ($window(@mcstats)) { clear @mcstats | window -a @mcstats }
- else { window @mcstats }
- var %l 1, %f $readini(mcstatssettings.ini,stats,file)
- while ($read(%f,%l)) {
- noop $regex($v1,\{"([0-9]+)":([0-9]+)\})
- var %id $regml(1), %a $regml(2)
- if ($readini(mcstats.ini,%id,name)) {
- echo @mcstats $+($mc1($v1),:,$chr(32),$mc2($bytes(%a,b)))
- }
- inc %l
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement