


Moderators: Víctor Paredes, Belgarath, slowtiger
Uhhhhh-Wheeee! If you can accomplish to make LUA-Scripts you would be the greatest, cause you have GREAT feature requests and if learn how to put them into a script THIS WOULD BE HEAVEN ON EARTHRamón López wrote:I've NO idea of programing (NOTHING) and I don't know if learn is possible for me, but for now I'd only want to know enought to can write "simple" Moho scripts (like some for I've asked in the past.
...
And, of course, (don't laught) I'd want to achieve this goal as quickly as possible... Cause of this, maybe, if you know what I mean, I'd be very GRATEFULL if you could give me some usefull advices, things like how you started to learn, essential tools or what is not necessary to learn in my case or, well... something to know how start "correctly" with all this "madness" at least...
...CIAO!
Hmmm...rylleman wrote:Use the print command a lot when you're writing, it help a lot in finding faulty code if you put print commands inside funtions and different arguments to see whats actually running or not.
print is a LUA command that prints things in the lua console (in moho). (And it doesn't affect your scripts)Ramón López wrote: Hmmm...I'm afraid I'm not sure about what this means...
Print comand?? Hmmm...
Code: Select all
if x>y then
somevalue = 23
print "(x is greater than y and I set somevalue to 23)"
else
somevalue=12
print "(x in NOT greater than y and I set somevalue to 12)"
end
Not really, just some Pascal and C(no +) from school ages ago and pieces of Flash action scripting.Ramón López wrote:...And, as I've said, in my case I have NO idea of any kind of programation works, had you any when you start to learn LUA? Only for curiosity...
myles wrote:Almost all the Lua documentation assumes you already know how to program and are using Lua as another language.
Yes Myles this was a cool CT explanation for the "print" commandmyles wrote:Regards, Myles - old enough to have briefly used a printer terminal.