notify_fail

mud/2.4.5/doc/efun/notify_fail · 283 B

From the archive 2.4.5-for-1.1.tgz

Download the archive   « Back to the archive contents

void notify_fail(str)
string str;

Store 'str' as the error message given instead of the default message
'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 ?'.

Site Stats

Snippets: 1791
Codebases: 571