Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- term.clear()
- term.setCursorPos(1,1)
- local d = os.getComputerID()
- if d<10 then
- print("one digit")
- print("ID: #",d)
- elseif d>99 then
- print("three digits")
- print("ID: #",d)
- else
- print("two digits")
- print("ID: #",d)
- end
Add Comment
Please, Sign In to add comment