Try these scripts in the chat:
If you are logged in to a char below level 50 it might return 0 though.
In the past I think they returned the CP points or level only if you already reached the CP ranks (at level 50) with each char.
Champion points earned
/script d("CP points: " .. GetPlayerChampionPointsEarned())
Champion points effective (usable)
/script d("CP points: " .. GetUnitEffectiveChampionPoints("player"))
Champion XP
/script d("CP XP: " .. GetPlayerChampionXP())
I'm not sure though if there is an API function to show the champion rank. I only know there are 2: for friendslist and guildlist. Maybe there is also one for the own characters but I haven't found it in the API today.
|