Hi !
I'm trying to create an addon to get my guild Bank money ammount then save this into a .txt file and with some php script, update a database contain all my characters / realm and the ammount of gold I have.
I started this into a ingame addon (in lua) but i really don't know this language and i have some difficulties...
So i have the idea, can some one would create a HB pluggin that simply use a Lua Macro and get the return of the lua in a file? or better, update my DB (with a SQL query ofc)
This Lua code work well in HB Console plugin
I have some little knowledge in C so if you can't create it for me, maybe you can help me.
Thx you, and sorry for my very bad english...
I'm trying to create an addon to get my guild Bank money ammount then save this into a .txt file and with some php script, update a database contain all my characters / realm and the ammount of gold I have.
I started this into a ingame addon (in lua) but i really don't know this language and i have some difficulties...
So i have the idea, can some one would create a HB pluggin that simply use a Lua Macro and get the return of the lua in a file? or better, update my DB (with a SQL query ofc)
Code:
RegisterEvent("GUILDBANK_UPDATE_MONEY", GuildBankMoney)
function GuildBankMoney()
GuildBankMoney = GetGuildBankMoney()
DEFAULT_CHAT_FRAME:AddMessage(GuildBankMoney);
end
I have some little knowledge in C so if you can't create it for me, maybe you can help me.
Thx you, and sorry for my very bad english...
Last edited: