From the NannyMUD documentation

LAST CHANGE

2003-05-30

NAME

        whered - From what counry do the player play?

DESCRIPTION

        This daemon contains data to map IP numbers to country codes.
        The data is imported from (2003-05-30) ip-t-country.com.

FUNCTIONS

QUERY FUNCTIONS

        query_where

OTHER FUNCTIONS

        short_to_long

NOTE

        This system relies on an external source for the raw data.

FUNCTION


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.