Ok so here is a link i found usful for learning lua basics granted it didnt give me the commands for wow but i will try to make the list here soon if i get the time too been very busy!
http://www.lua.org/pil/1.html
here si a list of wow scripts
World of Warcraft API - WoWWiki - Your guide to the World of Warcraft