Phantasmal MUD Lib for DGD

Phantasmal Site > Phantasmal API > API Listing > query_soundex

API Function: query_soundex

Summary:
query the HelpD for a phonetic match

Defined In LPC Object:
/usr/System/sys/helpd.c

Prototype:
mixed *query_soundex(string key, object user)

Can Be Called By:
System, Common, Game

Description:

Check the HelpD for an entry matching 'key' phonetically. The supplied user object is necessary to determine locale, so that various languages can be queried as appropriate. Currently, Phantasmal's HelpD only supports Soundex queries in English.

Return Value:

An array of help entries matching the supplied string is returned. See 'query_exact' for the format.

If no entries are found, nil is returned.

Errors:
Normally none

See Also:
new_help_file , query_exact_with_keywords , query_exact , query_soundex_with_keywords