blob: d244af46daeabfb90abc562febc39dda9ecdc42d [file] [log] [blame]
MG Mud User88f12472016-06-24 23:31:02 +02001SYNOPSIS
2 void catch_msg(mixed *|struct|mapping|object msg, object obj)
3
4DESCRIPTION
5 When say(), tell_room() or tell_object() are used with an
6 non-string as message, the value will be passed to catch_msg()
7 in all living objects that can hear it, instead of writing to
8 the user resp. sending to catch_tell(). This can be used to
9 implement communication protocols between livings. The second
10 argument denotes the object that has sent the message.
11
12HISTORY
13 LDMud 3.2.11 added tell_object() to the efuns calling this
14 lfun for symmetry reasons.
15 LDMud 3.3.686 added the use of a mapping/struct/object as message
16 value.
17
18SEE ALSO
19 say(E), tell_room(E), catch_tell(A)