Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function array()
- a = {}
- for i=1, 6 do
- a[i] = {}
- for j=1, 2 do
- a[i][j] = 0
- end
- end
- a[1][1]= "front"
- a[2][1]= "back"
- a[3][1]= "left"
- a[4][1]= "right"
- a[5][1]= "top"
- a[6][1]= "bottom"
- end
- array()
- for i=1, 6 do
- input=redstone.getInput(a[i][1])
- if input=="true" then
- a[2][2]="true"
- elseif input=="false" then
- a[3][2]="false"
- end
- end
- for i=1, 6 do
- print(a[i][1])
- print(a[i][2])
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement