Name: get_path - get current path from player/complete filename Syntax: string get_path(string filename) Description: If the filename argument is not given, get_path returns the current path of the player. If the filename starts with a '/' (absolute filename), it returns the normalized filename, that means, it resolves all occurrences of '../' or './'. If the filename doesn't start with a '/' (relative filename), it prepends the current path of the player to the given filename and returns the normalized version. Return value: A string containing the new filename. Examples: The following calls: this_player()->get_path(); this_player()->get_path("/lib"); this_player()->get_path("monster"); could return: "/players/nobody" "/lib" "/players/nobody/monster" See also: w/cd