Yeah! I found a link to a LUA script in the Scripts forum that isn't broken (every link has been broken till I finally found one that wasn't)...
Congratulations! You have reached Level 3 of LUA Documentation finding. Do you wish to share this with your friends?
UPDATE: Actually, not so great... All the example LUA scripts I could find were written by the same author, who apparently does not believe in comments.
You see, LUA is easy to write, but much harder to read. That's because its main strength is any variable can hold any value at any time of any type, and so never is declared. But that makes it impossible to know what a variable is suppose to be other than examining the context its in.
So, for example, in a function definition there is absolutely no way to know what the author intended the variables types to be. So, one must look for 'clues'. Hey, this variable has a method by that name, only objects of that type use that function call.
That's a NIGHTMARE. It means all code has to be backward engineered to read it! Of course its a good thing they let you provide comments so you can inform readers what is going on...
And the examples I have... have no comments...
So, basically I'm looking for a link to examples of LUA Script that uses MOHO (that isn't broken), and contains scripts that are simple and meant to instruct, such as actually commenting them for those of us who are just learning...