Advertisement
Guest User

andy

a guest
Jan 26th, 2015
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.66 KB | None | 0 0
  1. local pos = 18
  2.  
  3. ecran = peripheral.wrap("right")
  4. ecranb = peripheral.wrap("front")
  5. ecranb.clear()
  6. ecran.clear()
  7. ecran.setBackgroundColor(32768)
  8. ecranb.setBackgroundColor(32768)
  9. ecranb.setTextColor(2)
  10. ecranb.setTextScale(5)
  11. ecran.setTextColor(2)
  12. ecran.setTextScale(5)
  13.  
  14. while true do
  15.  if pos==-60 then
  16.   pos = 19
  17.  end
  18.  --string length = 42
  19.  ecran.clear()
  20.  ecran.setCursorPos(pos,1)
  21.  ecran.write("AmericanTradegy_'s & Bombitmanbombs's base")
  22.  posb = 18-pos
  23.  eposb = 18+posb
  24.  ecranb.clear()
  25.  
  26.  ecranb.setCursorPos(42-eposb+10,1)
  27. -- ecranb.write(eposb)
  28.  ecranb.write("AmericanTradegy_'s & Bombitmanbomb's base")
  29.  pos = pos-1
  30.  
  31.  os.sleep(0.1)
  32.  
  33. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement