Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --IP SYSTEM
- local OpenPorts = {}
- function getIP()
- x, y, z = gps.locate(2, false)
- return os.getComputerID().."."..x.."."..y.."."..z
- end
- function openPort( _sPort )
- OpenPorts[_sPort] = true
- end
- function getPorts()
- return OpenPorts
- end
Advertisement
Add Comment
Please, Sign In to add comment