@gfail - luxembourg/muxcode-clm GitHub Wiki
@GFAIL
COMMAND: @gfail <object> = <message> ATTRIBUTE: Gfail
Sets the message that a player sees when he tries to give away the object but fails because he didn't pass the object's give lock.
Function references and %-substitutions are allowed in give failure messages, and are evaluated when someone tries to give away the object. In function references, 'me' refers to the object being given away, while %-substitutions that refer to the enactor (such as %n, %#, %p, etc) refer to the (attempted) giver.
This attribute is only meaningful for players and things, and will never be automatically triggered on other object types.
Example: @gfail sword = You can't give away a cursed sword!