Advertisement
Marlingaming

Display File Text Script 1

Nov 16th, 2021
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. --this script Displays all Text stored in the specified file on the Screen
  2. local FileName = "n"
  3.  
  4. term.clear()
  5. term.setCursorPos(1,1)
  6. local h = fs.open(FileName,"r")
  7. print(h.readAll())
  8. h.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement