Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- term.clear()
- term.setCursorPos(14,8)
- print("+-------------------+")
- term.setCursorPos(14,9)
- print(" MICROTECH ")
- term.setCursorPos(14,10)
- print(" BASIC INPUTS ")
- term.setCursorPos(14,11)
- print("+-------------------+")
- sleep(1)
- function player()
- if fs.exists("/confg") == true then
- READCONF = fs.open("confg","r")
- AUSIDE = READCONF.readAll()
- READCONF.close()
- while true do
- if disk.isPresent( AUSIDE ) == true then
- if not disk.hasAudio( AUSIDE ) == false then
- disk.playAudio( AUSIDE )
- os.pullEvent("disk_eject")
- else if disk.hasData( AUSIDE ) == true then
- sleep(1)
- else
- disk.eject( AUSIDE )
- end
- end
- end
- sleep(1)
- end
- else
- while true do
- os.reboot()
- sleep(1)
- end
- end
- end
- function cs()
- term.clear()
- term.setCursorPos(1,1)
- end
- function ts(XXX,XXY)
- term.setCursorPos(XXX,XXY)
- end
- function cc(KINDOC)
- term.setBackgroundColor(colors.black)
- term.setTextColor(colors.white)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement