blob: b64832b312df08f47848e6e90a72d0c3d0cb51b9 [file] [log] [blame]
MG Mud User88f12472016-06-24 23:31:02 +02001catch_tell()
2
3SYNOPSIS:
4 void catch_tell(string)
5
6DESCRIPTION:
7 When a message is sent to a noninteractive player, via say(),
8 tell_object, tell_room(), printf() or write(), it will get to the
9 function catch_tell(string). This will enable communications between
10 NPCs and from a player to an NPC.
11
12 Also, if an interactive object is being shadowed and the
13 shadow has catch_tell() defined, it will receive all output
14 that would otherwise be written to the user.
15
16 If a message is sent by an interactive object, catch_tell() is
17 not called in that object, to prevent recursive calls. Thus
18 catch_tell() in interactive objects can be used to filter the
19 output that goes to the users.
20
21 The efun shout() sends to interactive objects only.
22
23SEE ALSO:
24 enable_commands(E), say(E), tell_object(E), tell_room(E),
25 write(E), catch_msg(L)