Originally Posted by Ammako
...
|
sorry, but I did not figure it out :/
but I made the button a secureActionButton and running a macro onClick
Lua Code:
if InCombatLockdown() then return end
if activeStepIndex then
local mountID, itemID, pretext, place, kill, mode, note, chance, raidID, worldBossID, waypoint = unpack(cfg.infoList[activeStepIndex])
if waypoint then
if IsAddOnLoaded("TomTom") then
self:SetAttribute("macrotext", "/way "..waypoint)
else
print(waypoint)
end
end
end