I personally like this macro

Code:
/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)
Quote Originally Posted by zenga View Post
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

Code:
/script DEFAULT_CHAT_FRAME:AddMessage(GetXPExhaustion());
Simply 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.