Advertisement
maxtorcd55

welcom screen

Mar 29th, 2013
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. local screens=4 -- aantal schermen
  2. local endscreen=screens*2
  3. local pos=endscreen
  4.  
  5. moni = peripheral.wrap("back")
  6. moni.setTextScale(5)
  7. moni.clear()
  8.  
  9. while (true) do
  10.  
  11. sleep(0.25)
  12. if pos==-40 then
  13. pos=endscreen
  14. end
  15.  
  16. moni.clear()
  17. moni.setCursorPos(pos,1)
  18. pos=pos-1
  19.  
  20.  
  21. if redstone.getInput("right") == false then
  22. moni.write("Welcome bij eXia bank")
  23.  
  24. elseif redstone.getInput("right") == true then
  25. moni.write("GESLOTEN")
  26. end
  27. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement