ok this is it!

[code:1]/script p="player"; O=100;D=" - ";E=GetXPExhaustion()X=UnitXP(p)Y=UnitXPMax(p)L=Un itLevel(p)SendChatMessage("XP: "..X.."/"..Y..D..floor((X/Y)*O).."% - NEXT LVL "..(L+1)..": "..(Y-X)..D..ceil(O-((X/Y)*O)).."% - "..floor((E/Y)*O).."% Rested "..E,"PARTY"); [/code:1]

and its just under the limit lol 255/255 so no room to send it to a custom channel unless you remove some text