Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local proto = 'togglemykillbots'
- rednet.open('back')
- print('Hit the "T" key to toggle killbots!')
- while true do
- event, m = os.pullEvent()
- if event == 'char' and string.lower(m) == 't' then
- rednet.send(16, 'hewwo', proto)
- term.clear()
- print('Hit the "T" key to toggle killbots!')
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement