Getting Started
Rules
Character Mover
Optimization Guide
EZ Wiki
EZ Guide
Magelo
Zone List
Spell Recipes
T10.5 Spell Recipes
Crafting Recipes
Donate
EZ Player Discord
EZ Server Files
EZ Client Downloads
Custom UF MiniMap
Custom UF Inventory
EQEmulator Home
Allakhazam Home
UFMissingFilesList
TwitchTV
#turboSub Main /declare i int local /declare charPP string local /declare char string local /declare Total string local 0 |Clear chars /for i 1 to ${Int[${Math.Calc[${Ini[GetPP,Chars].Count[|]}-1]}]} /if (${Ini[GetPP,Chars].Arg[${i},|].Length}>0) { /ini "GetPP" "Chars" "${Ini[GetPP,Chars].Arg[${i},|]}" "" } /next i /delay 4 /noparse /bcaa //ini "GetPP" "Chars" "${Me}" "${Math.Calc[${Me.Platinum}+${Me.PlatinumBank}+${Me.PlatinumShared}].Int}" /delay 4 |List Char Plat /for i 1 to ${Int[${Math.Calc[${Ini[GetPP,Chars].Count[|]}-1]}]} /if (${Ini[GetPP,Chars].Arg[${i},|].Length}>0) { /varset char ${Ini[GetPP,Chars].Arg[${i},|]} /varset charPP ${Ini[GetPP,Chars,${char}]} /if (${charPP.NotEqual[NULL]}) { /varcalc Total ${Total}+${charPP} /call Prettify ${charPP} /bc ${char}: ${Macro.Return} } } /next i /call Prettify ${Total} /bc Total: ${Macro.Return} /delay 5/returnSub Prettify(string num) /declare CommaNator string local | Strip out any decimal points /varset num ${num.Arg[1,.]} /if (${num.Length}<=3 ) /varset CommaNator ${num} /if (${num.Length}>3 && ${num.Length}<=6) /varset CommaNator ${num.Left[${Math.Calc[${num.Length}-3]}]},${num.Right[3]} /if (${num.Length}>6 && ${num.Length}<=9) /varset CommaNator ${num.Left[${Math.Calc[${num.Length}-6]}]},${num.Mid[${Math.Calc[${num.Length}-5]},3]},${num.Right[3]} /if (${num.Length}>9) /varset CommaNator ${num.Left[${Math.Calc[${num.Length}-9]}]},${num.Mid[${Math.Calc[${num.Length}-8]},3]},${num.Mid[${Math.Calc[${num.Length}-5]},3]},${num.Right[3]}/return ${CommaNator}