notify_fail

final_realms_fluffos_v1/lib/doc/efun/notify_fail · 514 B

From the archive final_realms_fluffos_v1.zip

Download the archive   « Back to the archive contents

.DT
notify_fail
FR-MUD's efun help
notify_fail

void notify_fail(string str)
.SP 5 5
Set the message that will be printed if the functions for the current
verb return 0. Default is 'What?'.

If notify_fail() is called more than once, only the last call of
will be used.

The idea of this function is to give better error messages instead of simply
What ?.  Use this function as much as you can.  It is a lot more polite to
return an error from your add_actioned commands than to prtint and error
and return 1.
.EP

Site Stats

Snippets: 1791
Codebases: 571