Originally Posted by Fizzlemizz
If you haven't already, to help with debugging in-game, install both
BugGrabber and BugSack
As to the code, SendMessage isn't a lua or WoW API function, except as a method of the C_Club system. Maybe it's a custom function in another addon?
To send text directly to the chatframe you can replace the SendMessage(...) lines with print(...)
|
Thank you, I'll try that out. Can't hop on right this moment, but I can update the code. I also realized I was missing SLASH_DEATHDICE1 = "/deathdice" at the end of it. Makes sense why the text wasn't popping up lol.
When I tested this earlier btw, the window for yes and no buttons popped up, but they weren't clickable?