• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Count to 10!

PHP:
if getCount(Galynn->getLatestPost()) == 2{
  value = 3;
  if doPost(value) == true
  print("Yeey, we've passed " << value << " already!!!");
  end
end
3!

Ye that good seems good, is it lua or c++ you are trying to mimic haha :)

5
 
btw Lua use Print as same as C#

@Topic Restart

Oh, you don't think so? ;O

input:1: unexpected symbol near '>'
input:1: ')' expected near 'getLatestPost'
input:1: 'then' expected near '{'
input:4: 'then' expected near 'print'
input:4: unexpected symbol near '<'
input:4: ')' expected near 'value'

And then finally: Yeey, we've passed already!!!

So if you think thats lua then you need to take some tutorials..
http://www.lua.org/cgi-bin/demo

two
 
three tine apples...

edit:
Oh, you don't think so? ;O

input:1: unexpected symbol near '>'
input:1: ')' expected near 'getLatestPost'
input:1: 'then' expected near '{'
input:4: 'then' expected near 'print'
input:4: unexpected symbol near '<'
input:4: ')' expected near 'value'

And then finally: Yeey, we've passed already!!!

So if you think thats lua then you need to take some tutorials..
http://www.lua.org/cgi-bin/demo
Maybe I'm not understanding your sarcasm, or you really weren't aware of that I did earlier is not even close to lua..
it's half C#/C++ mixed with random between php/lua..
not a real code..
 
Oh, you don't think so? ;O

input:1: unexpected symbol near '>'
input:1: ')' expected near 'getLatestPost'
input:1: 'then' expected near '{'
input:4: 'then' expected near 'print'
input:4: unexpected symbol near '<'
input:4: ')' expected near 'value'

And then finally: Yeey, we've passed already!!!

So if you think thats lua then you need to take some tutorials..
http://www.lua.org/cgi-bin/demo

two

i knew from beginning it's not lua
i'm just bothered you :p
hehehehehe
in lua it will be print " xxxx "


lua example
Code:
print "Guess Number"
math.randomseed(os.time())
math.random()
number = math.random(10)
answer = io.read("*n")

if answer < number then
    print "damn low"
elseif answer > number then
    print "damn high"
else
    print "oh ! you owned it"
end

print(number)

i ofc. knew it but just kidding :p
i wanna bother you
because u did it to me all time hehehe
1 by 1
it's draw now :p
 
i knew from beginning it's not lua
i'm just bothered you :p
hehehehehe
in lua it will be print " xxxx "


lua example
Code:
print "Guess Number"
math.randomseed(os.time())
math.random()
number = math.random(10)
answer = io.read("*n")

if answer < number then
    print "damn low"
elseif answer > number then
    print "damn high"
else
    print "oh ! you owned it"
end

print(number)

i ofc. knew it but just kidding :p
i wanna bother you
because u did it to me all time hehehe
1 by 1
it's draw now :p

You still need tutorials ;) You can use print(str); the ";" dosen't matter in lua, but isent needed like in c++ etc.


3
 
Back
Top Bottom