Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("enter blocks") -- how long the loop goes
- blocks = read()
- print("enter torches") -- how often you want to place torches
- torches = read()
- dummy = torches
- for i=1, blocks do
- print (i," ",torches)
- if i == torches then
- print("can someone tell me why this doesn't print?")
- torches = dummy + torches
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment