Originally Posted by lyravega
Is there a similar command that works like d()?
|
I do this in my addons. It will output to whatever chat window screen that the user has open.
CHAT_SYSTEM["containers"][1]["currentBuffer"]:AddMessage('message here')
It, of course, won't work until after PLAYER_ACTIVATED is fired off, so that won't work if you are just trying to get debug info but is great for outputting stuff for the user.
~Zolan