Hello. I am new to this with making addons.
I know some programing like c++ and c# but the problem I have right now is that I can't run my lua files. because I can't find how they are supose to look. I have a scrip looking loke this:
*/
local start, duration, enabled = GetSpellCooldown("Fel Domination");
if enabled == 0 then
DEFAULT_CHAT_FRAME:AddMessage("Fel Domination is currently active, use it and wait " .. duration .. " seconds for the next one.");
elseif ( start > 0 and duration > 0) then
DEFAULT_CHAT_FRAME:AddMessage("Fel Domination is cooling down, wait " .. (start + duration - GetTime()) .. " seconds for the next one.");
else
DEFAULT_CHAT_FRAME:AddMessage("Fel Domination is ready.");
end
\*
but I can't test this because I can't activate it in WoW
If you can please help
Thanks
//Zaratara