Ahh, I see what you're doing there. Your buttons only open chat. Replace your OnClick handler with this:
Lua Code:
Button:SetScript("OnClick", function()
if command=="/pull 6" then
SlashCmdList.DEADLYBOSSMODSPULL(6)
else
Open_chat(command)
end
end)
This is a simple way to do it. You can also do this for readycheck and roll as well, which are
DoReadyCheck() and
RandomRoll("1","100").