Lua is confusing
#1
I do not understand how to use it, it is very confusing
Reply
#2
Then why don't you look at some PHP or Java.

I think then you might change your mind.

As my signature used to say, Lua is similar to English (at least, more so than other languages.)

And it doesn't involve too much complicated symbols or logic.

For example, several of the most common lines you'll see in Lua look something like this:

[lua]
while true do
sleep(5)
if script.Parent.Name == "Box" then
print("This script is running in a box.")
else
print("Script not inside a box. Ending loop.")
break
end
end
[/lua]

In english...

Quote:while this script is running, repeat
every 5 seconds
if the script is inside a "Box"
print "This script is running in a box"
otherwise
print "Script not inside a box. Ending loop."
break the loop
end of if statement
end of loop
Reply
#3
helped a bit but i still dont fully understand it
Reply
#4
Php or Java? Those are way harder than Lua...I wouldn't try it...
[Image: chaosthegreat.png]
Reply
#5
You serious? Lua is like the easiest language.
Oh and Chaos. LEARN UR ACRONYMS.
Reply
#6
Python is/or almost easier than Lua.
Reply
#7
There you go, my 'ACRONYMS' are fixed.
[Image: chaosthegreat.png]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)