From the NannyMUD documentation
2003-05-30
whered - From what counry do the player play?
This daemon contains data to map IP numbers to country codes. The data is imported from (2003-05-30) ip-t-country.com.
query_where
short_to_long
This system relies on an external source for the raw data.
NAME
query_where - From what country do the player play?SYNTAX
mixed query_where(mixed arg)DESCRIPTION
This function tries to find a country code associated with your input. The argument can be one of three things: + An IP number. + A player object. + A player name. The function returns one of three things: + A two-character country code. + An error code (a negative integer). + The string "--".SEE ALSO
short_to_long in daemon/whered
FUNCTION
NAME
short_to_long - Map a country code to a country name.SYNTAX
string short_to_long(string code)DESCRIPTION
This function maps a country code to a country name.