Author Topic: i am best luacigarette  (Read 1281 times)

To be fair it did look like Auz was trying to crack a wise cracker on King at first.
Agreed

lua magic man where is best learning place of lua

lua magic man where is best learning place of lua
for 5.2, this book

for 5.1, another book

for 5.0 which mostly works for 5.1 and 5.2, http://www.lua.org/pil/

but getfenv() and setfenv() were removed in 5.2 so don't get used to using those if you ever do get into lua lol

forget you if you were joking i'm still helpful :D


He's perfectly calm, and no it wasn't
this, not sure why they thought he was mad lol

this, not sure why they thought he was mad lol
Because people always jump to conclusions.

Red bold text excites the forums. - fact

for 5.2, this book

for 5.1, another book

for 5.0 which mostly works for 5.1 and 5.2, http://www.lua.org/pil/

but getfenv() and setfenv() were removed in 5.2 so don't get used to using those if you ever do get into lua lol

forget you if you were joking i'm still helpful :D
Should I start with 5.2?
« Last Edit: March 04, 2013, 09:02:06 PM by Flush535 »

everything i know of uses 5.1, so it's probably good to start with that

i'd link the 5.1 ref. manual, but it's not really a good tutorial

you could probably find a really good tutorial for 5.1 on lua-users

...

yep, here's a list of pages that basically teach you about everything - variables, functions, conditions, etc.

http://lua-users.org/wiki/TutorialDirectory

and in case you need it, here is lua for windows:

https://code.google.com/p/luaforwindows/

you can run the lua interpreter by just typing "lua" in the command prompt after installing this.

print("stuff")

am i pro yet?

You should write a program that writes randomly generated paragraphs

then publish it as a novel
it's funny because I posted something like this on here a while ago...

post:
http://forum.blockland.us/index.php?topic=224851.0

print("stuff")

am i pro yet?

setmetatable({
  str = 'stuff';
}, {
  __call = function(self)
    print(self.str)
  end
})()


almost

((((endprocess:{life}))

ami coding yet

no but seriously that seems hard, wish i could learn



setmetatable({
  str = 'stuff';
}, {
  __call = function(self)
    print(self.str)
  end
})()


almost

the forget is this? all that for a print function? forget this. lua is balls

the forget is this? all that for a print function? forget this. lua is balls
nah, you really could just do

print("stuff")

though

print 'stuff'

is only necessary. i just felt the need to make things way more complicated than they should be, haha