Quantcast ESOUI - View Single Post - Show CP Level On Alts Lower Than Level 50
View Single Post
06/30/19, 01:36 PM   #4
Rhyono
AddOn Author - Click to view addons
Join Date: Sep 2016
Posts: 561
Originally Posted by amber1019 View Post
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:
  1. SLASH_COMMANDS["/cplevel"] = MyAddon.ShowCPLevel

Then make that function with the contents being:

Lua Code:
  1. d("CP points: " .. GetPlayerChampionPointsEarned())
  Reply With Quote