Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --PassCard
- os.setComputerLabel("The_Aynoblo37's PassCard")
- local rChannel=104
- local hChannel=103
- local osName=The_Aynoblo37
- local passCode="4GzRLp9LySZsj4c86i5NwGAzh89R528a"
- modem=peripheral.wrap("back")
- modem.open(rChannel)
- print("modem status:",modem.isOpen(rChannel))
- print("")
- while true do
- local x,y,z = gps.locate()
- coords = {
- pass=passCode,
- name=osName,
- cx=x,
- cy=y,
- cz=z
- }
- cSend=textutils.serialize(coords)
- modem.transmit(hChannel,rChannel,cSend)
- sleep(0.01)
- end
Add Comment
Please, Sign In to add comment