Naive World of Warcraft addon using Auction House API.
Lua is a scripting language used to make addons. If you haven't used LUA before, it is not difficult to get started.
- Official Docs: http://www.lua.org/home.html
- Compiler via browser: https://www.lua.org/cgi-bin/demo?hello
- WoW addon guide: https://www.wowhead.com/guide=1949/wow-addon-writing-guide-part-one-how-to-make-your-first-addon
- Open up terminal and type.
curl -R -O http://www.lua.org/ftp/lua-5.3.5.tar.gz
tar zxf lua-5.3.5.tar.gz
cd lua-5.3.5
make macosx test
- Once installed, you need to copy the lua into /usr/loca/bin/.
sudo cp src/lua /usr/local/bin
- Test it via command line.
lua
> io.write("Hello world, from ", _VERSION, "!\n")
output
Hello world, from Lua 5.3!
file (0x7fff990ab1a8)
- Test a program.
Create a file named helloworld.lua. Copy and save the program below:
-- helloworld.lua
-- the first program in every language
io.write("Hello world, from ",_VERSION,"!\n")
To run it, enter this command in terminal.
lua helloworld.lua
- LUA - The compiler used
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
- Abe Choi - Initial work
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details
- README Template by https://github.com/PurpleBooth