View Single Post
02/24/16, 04:08 AM   #5
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 5,011
External files won't be allowed to execute/edit by the help of lua addons (in TESO).
You would need to save something to the addons savedvariables file by doing a reloadui, close the game or logout.
Then use an external program to check the savedvariables file of the addon and update your external file from the info in that savedvariablse file.

So this cannot be done without at least a /reloadui inside the game at your given time!


About starting an emote after consuming an item:
I'm not sure if there is a possibility to get the info which item type (drink) was consumed.
I guess you need to collect and build a list of the drinks/food that you want to "raise" this drunk effect.

After using the item you need to check against this list then if it was one of the drinks/food.

Last edited by Baertram : 02/24/16 at 04:10 AM.
  Reply With Quote