View Single Post
06-28-20, 11:19 PM   #4
Kanegasi
A Molten Giant
 
Kanegasi's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2007
Posts: 666
Ah, DBM. I was confused by the /count since DBM uses /pull. Same format, different function. Unfortunately, DBM doesn't expose its pull function, but we can use the registered SlashCmdList function instead.

Lua Code:
  1. /run if SecureCmdOptionParse("[btn:2]") then SlashCmdList["DEADLYBOSSMODS"]("pull 3") else SlashCmdList["DEADLYBOSSMODS"]("pull 10") end

Last edited by Kanegasi : 06-28-20 at 11:23 PM.
  Reply With Quote