A
/ \ _ Play Now Nemesis on
| | | | _______ _ _ _______ _______ _ _______
| |\ | | | ____| | \ / | | ____| / ____| | | / ____|
/-------/-------------------------------------------------------------------,
O= Home <=XX| About News Pics Adventurers Wizards Download Connect >
\-------\-------------------------------------------------------------------'
| | \ | | |____ | | | | | |____ ___ \ \ | | ___ \ \
| | \_| |_______| |_| |_| |_______| |_______/ |_| |_______/
\ /
V
Documentation Area
Document Path: /doc/player/query_host
Name: query_host - get the hostname of a player
Syntax:
string query_host()
Description:
The query_host call returns the hostname of a player. If the hostname
couldn't be resolved, the IP-number is returned.
Return value:
A string containing the hostname/IP-Number of the player
Examples:
string host;
host=this_player()->query_host();
See also:
This page was generated in LPC
Imprint / Impressum