Ok Pulltimer works very nice now thx a lot.
Lua Code:
Button:SetScript("OnClick", function()
if command=="/pull 6" then
SlashCmdList.DEADLYBOSSMODSPULL(6)
else
Open_chat(command)
end
end)
return Button;
So now i must add the the other commands
on the same place like:
Lua Code:
Button:SetScript("OnClick", function()
if command=="/pull 6" then
SlashCmdList.DEADLYBOSSMODSPULL(6)
else
if command=="/readycheck" then
SlashCmdList.DoReadyCheck()
else
Open_chat(command)
end
end)
return Button;
But this dont work.