Skip to content
Luxembourg edited this page Mar 20, 2013 · 4 revisions

@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!

related topics: give, @agfail, @ogfail, @lock.

Clone this wiki locally