Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
Creating habits. Lua
--[[ Trying to comment more on my code for future purposes :V Also need to be more consistant with my orginization. gl to me lol ]]-- users = {"User1", "xX_Sniper_Xx", "testUser", "Ran out of ideas"} -- Creates a list of users -- money = {1234, 0, 71, 90} -- Creates user's data -- Data is listed by what number the user has. -- -- vv Goes through the list/table vv -- for i, v in pairs(users) do --[[ V states what's in the list. I states where the user's name is located. We ]]-- print("User: "..v.."\n".."Money: "..money[i].."\n") -- Prints the user's name and how much money they have -- end -- Programs finished print("Done")
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Lua stuff
Dirty Bag 'o Tokens Maker
finding volume of pyramids (for me, but feel free to use)
Hakusu
Map generator
RSA KEY GENERATOR (LUA)
5+5 == 10
quick sort
Truly random numbers (Lua)
Hand positions in a circle
Please log in to post a comment.