Skip to main content

do_search

Discworld room help

do_search

Name

do_search - Function called by "search" command.

Syntax

int do_search(string str);

Description

This is the function called by the search command. If you wish this to do something useful, redefine this function.

For a search that succeded return 1; for one that needs a notify_fail() return 0; for one that should give the default messages return -1.

See also

search