Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- modem = peripheral.wrap("top")
- modem.open(2001)
- local trasy = {
- "dx" = false,
- "dxx" = false,
- }
- function getTrasy()
- local event, side, sch, rch, msg, sd = os.pullEvent("modem_message")
- print(msg)
- end
- while true do
- getTrasy()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement