-
convert_birthday
string convert_birthday(string str)
-
is_option
int is_option(object player,
string name)
This method checks to see if the specified option path exists. This
will only return true if it is an actual option, not an option group.
- Parameters:
player - the player this is relative to
name - the option path to check
- Returns:
1 if it is an option, 0 if not
-
is_option_group
int is_option_group(object player,
string name)
This method checks to see if the specified option group path exists. This
will only return true if it is an option group, not an actual option.
- Parameters:
player - the player this is relative to
name - the option path to check
- Returns:
1 if it is an option group, 0 if not
-
query_all_options
mapping query_all_options()
-
query_option_behaviour
mixed query_option_behaviour(object player,
string name)
This function returns the types of the options in this category. It should
correspond to the value returned by query_option_values().
- Parameters:
player - the player this is relative to
name - the name of the option
- Returns:
the allowed parameters
-
query_option_help
string query_option_help(object player,
string path)
This method returns the help string of the specified option.
- Parameters:
player - the player to find the value on
path - the path to the option
-
query_option_value
string query_option_value(object player,
string path)
This method returns the value of the specified option.
- Parameters:
player - the player to find the value on
path - the path to the option
-
query_option_values
string * query_option_values(object player,
string name)
This method returns the different values this option can be
set to.
- Parameters:
player - the player this is relative to
name - the name of the option
- Returns:
the allowed parameters
-
query_sub_options
string * query_sub_options(object player,
string name)
This method returns all the sub options and option groups at this
level.
- Parameters:
player - the player this is relative to
name - the path to return the suboptions of
- Returns:
the sub options of the path
-
set_option_value
int set_option_value(object player,
string path,
string value)
This method sets an option value on the player.
- Parameters:
player - the player to find the value on
path - the path to the option
value - the value directly from the command line
-
set_timezone_name
int set_timezone_name(object player,
string tz_name)
-
set_timezone_offset
int set_timezone_offset(object player,
float tz_offset)
-
valid_birthday
int valid_birthday(object person,
string str)