Originally Posted by amber1019
Although, it would be great if someone created a small addon that enabled you to type in a short command (like: /cp or /cppoints or /cplevel) to get that information to show in chat. Rather than having to remember that script.
|
That is something extremely easy to do. You could use an addon like
Hello World to get started. Then, you just need to create a chat command:
Lua Code:
SLASH_COMMANDS["/cplevel"] = MyAddon.ShowCPLevel
Then make that function with the contents being:
Lua Code:
d("CP points: " .. GetPlayerChampionPointsEarned())