Thank everyone! Now I'm very confused thought
I have tryed to mash some of the code snips from here together with no success.
Phanx code:
Code:
local ADDON_NAME = MindHarvest
if select(2, UnitClass("player")) ~= "PRIEST" then return DisableAddOn(ADDON_NAME) end
results in this error if I login on any char but a priest
Code:
1x MindHarvest\core.lua:5: Usage: DisableAddOn(index or "name", [set for all or "character"])
[C]: in function `DisableAddOn'
MindHarvest\core.lua:5: in main chunk
Locals:
ADDON_NAME = nil
And glyphe part.. I just don't know where to start it looks nice but its not working