Advertisement
Guest User

ss

a guest
May 25th, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.33 KB | None | 0 0
  1. local sign = peripheral.wrap('top')
  2.  
  3. while true do
  4.     local id = read()
  5.     if id ~= '' then
  6.         sign.setLine(1, 'ÂĽA71[Buy]')
  7.         sign.setLine(2, '1')
  8.         sign.setLine(3, tostring(id))
  9.         sign.setLine(4, '$0.01')
  10.     else
  11.         sign.setLine(1, '')
  12.         sign.setLine(2, '')
  13.         sign.setLine(3, '')
  14.         sign.setLine(4, '')
  15.         os.reboot()
  16.     end
  17. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement