Eleeleth is working on a more up to date lua tutorial (i think)... for now just look at the relevant stickies.