Advertisement
User9684

Killbot pocket computer

Nov 23rd, 2022 (edited)
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. local proto = 'togglemykillbots'
  2. rednet.open('back')
  3. print('Hit the "T" key to toggle killbots!')
  4.  
  5. while true do
  6. event, m = os.pullEvent()
  7. if event == 'char' and string.lower(m) == 't' then
  8. rednet.send(16, 'hewwo', proto)
  9. term.clear()
  10. print('Hit the "T" key to toggle killbots!')
  11. end
  12. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement