Jump to content




[Lua][Question] Multiple inputs in code? (IDK correct terminology)


  • You cannot reply to this topic
20 replies to this topic

#21 SuicidalSTDz

    Permutator of Strings

  • Members
  • 1,308 posts
  • LocationPennsylvania

Posted 11 April 2013 - 12:09 AM

View PostSpongy141, on 10 April 2013 - 06:46 PM, said:

Actually since I remember recalling from a error I keept getting while trying to do
else
if
It didn't work and would give a error, so thats why you have to do (Or at least for me my programs never work unless I do a else if like this "elseif")
elseif
You indeed can do:

if something then
 --something
else
 if not foo then
  --something
 end
end






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users