View Single Post
10-27-19, 01:31 PM   #8
Kanegasi
A Molten Giant
 
Kanegasi's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2007
Posts: 666
It's just DoReadyCheck(), no SlashCmdList for that. The colored functions I mentioned are exactly how they are. You're also missing "elseif".

Lua Code:
  1. Button:SetScript("OnClick", function()
  2.     if command=="/pull 6" then
  3.         SlashCmdList.DEADLYBOSSMODSPULL(6)
  4.     elseif command=="/readycheck" then
  5.         DoReadyCheck()
  6.     else
  7.         Open_chat(command)
  8.     end
  9. end)
  Reply With Quote