getHostIP()
From Hack Wars Wiki
| Function information for getHostIP() | |
| Function | getHostIP() |
| API | HTTP |
| Cost | $10 |
| Level | 1 |
| CPU Usage | 1 |
| Description | Returns a string representing the IP address of the player that is hosting the site. If the player hosting the site is a subscriber with a domain name, the domain name is returned instead of the IP address. |
Example
string myip=getHostIP(); |
