What I advise is to start doing basic things, calculators and other things. For you to learn Lua even if it is for tibia, you have to learn Lua as a programming language and not just random words that perform things in tibia. If not, you can not create something good and your code will be bad...