blob: 79c65aaad4aee55f18502e54c3b7402eb8ffbaa7 [file] [log] [blame]
MG Mud User88f12472016-06-24 23:31:02 +02001SYNOPSIS
Zesstrad59c3892019-11-28 20:53:39 +01002 mixed query_notify_fail()
3 mixed query_notify_fail(int flag)
MG Mud User88f12472016-06-24 23:31:02 +02004
Zesstra715ec202025-07-09 22:18:31 +02005DESCRIPTION
6 If <flag> is not given or 0: return the string or closure which
7 was last set as error message for this command (with notify_fail()).
MG Mud User88f12472016-06-24 23:31:02 +02008
Zesstra715ec202025-07-09 22:18:31 +02009 If <flag> is given and 1: return the object which issued the last
10 notify_fail().
MG Mud User88f12472016-06-24 23:31:02 +020011
Zesstra715ec202025-07-09 22:18:31 +020012 If nothing was set yet, return 0.
MG Mud User88f12472016-06-24 23:31:02 +020013
Zesstra715ec202025-07-09 22:18:31 +020014HISTORY
15 Introduced in LDMud 3.2.7.
16 LDMud 3.2.8 added the <flag> parameter.
17
18SEE ALSO
MG Mud User88f12472016-06-24 23:31:02 +020019 add_action(E), query_verb(E), query_command(E), notify_fail(E),
20 hooks(C)