Hallo, first time sorry for my bad english.
I need an Interface, i hope u can help me.
here a little description:
Our Members have to declair their password for our guild site in wow and they must write news for the page in wow.
here i have made some pics:
this is the news outputer ^^, the code in the (wow\wtf\account\<name>\SavedVariables\)sm_news.lua must be like this:
- and aver, when i wrote a new, news must add an new array like 1,2,3,...
Code:
News = {
["1"] = {
["topline"] = "today i´ve buyed somethink", <- from the first field
["text"] = "bla bla bla bla bla bla bla bla bla bla bla", // <- from the second field
["date"] = "", // <- auto date
["name"] = "<name of the character"
}
["2"] = {
["topline"] = "today i´ve buyed somethink", <- from the first field
["text"] = "bla bla bla bla bla bla bla bla bla bla bla", // <- from the second field
["date"] = "", // <- auto date
["name"] = "<name of the character"
}
}
And this is Password updater, it will export the password (for the page) and the charaktername to an *.lua file, the code in the (wow\wtf\account\<name>\SavedVariables\)sm_charp.lua must be like this:
Code:
charp = {
["name"] = "<name of the charaxter>",
["password"] = "<password from the ingamefield>"
["checkbox_mainchar"] = "yes" // or "no"
["checkbox_money"] = "yes" // or "no"
["mainchar"] = "<maincharname from the ingamefield>"
}
i hope u understand me
thx, lamba