View Single Post
05/31/14, 04:08 AM   #18
zgrssd
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 280
Originally Posted by Seerah View Post
This is the d() function:
Lua Code:
  1. function d(...)    
  2.     for i = 1, select("#", ...) do
  3.         local value = select(i, ...)
  4.         if(type(value) == "table")
  5.         then
  6.             EmitTable(value)
  7.         else
  8.             EmitMessage(tostring (value))
  9.         end
  10.     end
  11. end
Are you certain it takes any amount of parameters? When I tried to give it more then one value, it took only the first. But it could have been a fault in the override BugEater provides for d() too.

Edit: I Added the whole "how do I output to the chat" thing to the quick questions:
http://wiki.esoui.com/AddOn_Quick_Qu...to_the_chat.3F

Last edited by zgrssd : 05/31/14 at 04:18 AM.
  Reply With Quote