turnOnPort()
From Hack Wars Wiki
| Function information for turnOnPort() | |
| Function | turnOnPort(int) |
| API | Watch |
| Cost | $10,000 |
| Level | 75 |
| CPU Usage | 15 |
| Description | Takes an int as input representing the port number of a port in the array being observed. An attempt is made to turn this port on. |
Example
This snippet just turns on your port 5.
turnOnPort(5); |
