Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mon = peripheral.wrap("top") --Screen Side
- mon.setTextScale(2) --Text Size
- strtpos = 24 --Start position on screen
- speed = 0.2 --Scroll Speed (Seconds)
- text1 = "Welcome to Infinity USA. Please type /rules for more information" --Displayed Text
- text2 = "Claims!, ctrl+ click on the link for help when it comes up"
- text3 = "Market and market spots at market warp."
- text4 = "1"
- text5 = "2"
- text6 = "3"
- text7 = "4"
- pos = strtpos
- poslimit = -24 - strtpos
- while true do
- mon.setBackgroundColor(colors.white)
- mon.setTextColor(colors.blue)
- mon.setCursorPos(pos, 1)
- mon.write(text1)
- mon.setCursorPos(pos, 2)
- mon.write(text2)
- mon.setCursorPos(pos, 3)
- mon.write(text3)
- sleep(speed)
- mon.clear()
- if pos == poslimit then
- pos = strtpos
- else
- pos = pos - 1
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement