Advertisement
Redxone

Cozy Chat - Bouncer

Jul 7th, 2015
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.24 KB | None | 0 0
  1. modem = peripheral.find("modem")
  2. modem.open(100)
  3. print("Listening In Channel > 100")
  4. while true do
  5.  
  6.     a = {os.pullEvent("modem_message")}
  7.     print("Received Message : ".. a[5])
  8.     print("Redirecting...")
  9.     modem.transmit(100,100,a[5])
  10.    
  11. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement