do_search

dw_fluffos_v1/lib/doc/new/room/do_search · 465 B

From the archive dw_fluffos_v1.tar.gz

Download the archive   « Back to the archive contents

.DT
do_search
Discworld room help
do_search

Name
.SI 5
do_search - Function called by "search" command.
.EI

Syntax
.SI 5
int do_search(string str);
.EI

Description
.SP 5 5
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.
.EP

See also
.SP 5 5
search
.EP

Site Stats

Snippets: 1791
Codebases: 571