Guest User

Untitled

a guest
Apr 4th, 2013
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. local last={false,false,false,false,false,false}
  2. -- place that before the while loop
  3.  
  4. if event == "redstone" then
  5. for l1=1,6 do
  6. if redstone.testBundledInput(side,2^(l1-1)) then
  7. if not last[l1] then
  8. _G["count"..l1]=_G["count"..l1]+1
  9. last[l1]=true
  10. end
  11. else
  12. last[l1]=false
  13. end
  14. end
  15. end
Advertisement
Add Comment
Please, Sign In to add comment