Log in

View Full Version : Tip: check your rested xp macro



zenga
05-04-2010, 04:01 PM
I came across this when i was curious how much more rested xp i had on this character, as I'm currently leveling multiple teams and want to do it as efficient as possible. I use a mod for my action bars and have no real clue how to display this (don't even know if this is visible in the default interface).

Anyway, make a new macro containing this this line


/script DEFAULT_CHAT_FRAME:AddMessage(GetXPExhaustion());S imply drag it on the actionbar and click on it. As i find it handy i though to share it with my beloved multiboxing friends :P

Note= obviously it will only do something _if_ you have rested xp left.

lightstriker
05-04-2010, 04:41 PM
that's cool. when the rest meter past my current level bar, i always wonder how much i have left.

zeblic
09-17-2019, 08:37 AM
I personally like this macro


/script p="player";x=UnitXP(p);m=UnitXPMax(p);r=GetXPExhaustion();if -1==(r or -1)then t="No rest."else t="Rest: "..(math.floor(20*r/m+0.5)).." bubbles ("if r+x<m then t=t..r else t=t.."level +"..(r+x-m)end t=t.."XP)"end;DEFAULT_CHAT_FRAME:AddMessage(t)


I came across this when i was curious how much more rested xp i had on this character, as I'm currently leveling multiple teams and want to do it as efficient as possible. I use a mod for my action bars and have no real clue how to display this (don't even know if this is visible in the default interface).

Anyway, make a new macro containing this this line


/script DEFAULT_CHAT_FRAME:AddMessage(GetXPExhaustion());S imply drag it on the actionbar and click on it. As i find it handy i though to share it with my beloved multiboxing friends :P

Note= obviously it will only do something _if_ you have rested xp left.