Quantcast WoWInterface - View Single Post - Please Help Button for /command`s
View Single Post
10-27-19, 01:31 PM   #8
Kanegasi
A Firelord
 
Kanegasi's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2007
Posts: 460
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