getVisitorIP()

From Hack Wars Wiki

Jump to: navigation, search


Function information for getVisitorIP()
Function getVisitorIP()
API HTTP
Cost $10
Level 1
CPU Usage 1
Description Returns a string representing the domain or IP address of the player that visited your site.


To distinguish if getVisitorIP() returned a domain or an IP see isDomain()

Example

logMessage("Site visit from " + getVisitorIP());


See logMessage().

Personal tools