Skip to content

Instantly share code, notes, and snippets.

@meta1203
Created February 5, 2013 20:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save meta1203/4717527 to your computer and use it in GitHub Desktop.
Save meta1203/4717527 to your computer and use it in GitHub Desktop.
Server for the Computer Craft Intercontinental Network (CCIN)
while true do
event, senderId, message, distance = os.pullEvent("rednet_message")
print( "Computer: "..senderId.." sent a message: "..message.." from "..distance.." blocks away!" )
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment