Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --backtank monitor
- local mon = peripheral.find("monitor")
- mon.setTextScale(2.5)
- mon.clear()
- mon.setBackgroundColour(colors.black)
- mon.setTextColour(colors.white)
- lettre = 1
- pos = 1
- local texte = {
- " ",
- " ",
- " ",
- " ",
- "r",
- "e",
- "c",
- "h",
- "a",
- "r",
- "g",
- "e",
- " ",
- "é",
- "q",
- "u",
- "i",
- "p",
- "e",
- "m",
- "e",
- "n",
- "t",
- " "
- }
- while true do
- lettre2 = lettre +1
- lettre3 = lettre2 +1
- lettre4 = lettre3 +1
- lettre5 = lettre4 +1
- mon.setCursorPos(2,pos)
- mon.write(texte[lettre])
- mon.setCursorPos(2,pos + 1)
- mon.write(texte[lettre2])
- mon.setCursorPos(2,pos + 2)
- mon.write(texte[lettre3])
- mon.setCursorPos(2,pos + 3)
- mon.write(texte[lettre4])
- mon.setCursorPos(2,pos + 4)
- mon.write(texte[lettre5])
- print(texte[lettre])
- lettre = lettre + 1
- pos = pos
- if pos == 25 then
- pos = 3
- mon.clear()
- end
- if lettre == 25 then
- lettre = 1
- mon.clear()
- end
- sleep(0.5)
- end
Advertisement
Add Comment
Please, Sign In to add comment