Guest User

looptest

a guest
Jan 5th, 2013
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.19 KB | None | 0 0
  1. torches = 3
  2. blocks = 10
  3. dummy = torches
  4.  
  5. for i=1, blocks do
  6.    print (i," ",torches)
  7.    if i == torches then
  8.      print("this actually prints!")
  9.      torches = dummy + torches
  10.    end
  11. end
Advertisement
Add Comment
Please, Sign In to add comment