WoWInterface - View Single Post - I'd like to integrate a python script into an addon
View Single Post
01-24-21, 04:18 PM   #7
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: Apr 2008
Posts: 148
Originally Posted by Fizzlemizz View Post
As in posting a buy order?

It doesn't seem from the documentation that there is any method to alter information on the server. That has to be done in game which uses Lua, not python.
When the python script finds item X on server Y for a price less then Z it creates/updates a shopping list in [not yet existing addon's] SavedVariables lua -> we don't need to care about this.

So basically he has a table containing the items he wants to buy (up to a maximum price) and is looking for a solution to do so using lua by pressing a button multiple times.

(At least that's how I understand it. Sound totally possible for me, but I haven't played around with the "new" ingame AH API yet.)
  Reply With Quote