Advertisement
osmarks

RIMRC Writer

Jul 31st, 2019
261
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.28 KB | None | 0 0
  1. local component = require "component"
  2. local colors = require "colors"
  3. local cw = component.os_cardwriter
  4. print "User:"
  5. local user = io.read()
  6. print "Color:"
  7. local color = colors[io.read()] or colors.white
  8. print "Title:"
  9. local title = io.read()
  10. cw.write(user, title, false, color)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement