Zesstra | 953f997 | 2017-02-18 15:37:36 +0100 | [diff] [blame] | 1 | |
MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame] | 2 | catch_msg() |
Zesstra | 953f997 | 2017-02-18 15:37:36 +0100 | [diff] [blame] | 3 | *********** |
MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame] | 4 | |
MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame] | 5 | |
Zesstra | 953f997 | 2017-02-18 15:37:36 +0100 | [diff] [blame] | 6 | SYNOPSIS |
| 7 | ======== |
MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame] | 8 | |
Zesstra | 953f997 | 2017-02-18 15:37:36 +0100 | [diff] [blame] | 9 | void catch_msg(mixed *arr, object obj) |
| 10 | |
| 11 | |
| 12 | DESCRIPTION |
| 13 | =========== |
| 14 | |
| 15 | When say(), tell_object() or tell_room() are used with an array |
| 16 | as message, the array will be passed to catch_message() in all living |
| 17 | objects that can hear it, instead of writing to the user resp. |
| 18 | sending to catch_tell(). This can be used to implement |
| 19 | communication protocols between livings. The second denotes |
| 20 | the object that has sent the message. |
| 21 | |
| 22 | |
| 23 | SEE ALSO |
| 24 | ======== |
| 25 | |
| 26 | say(E), tell_room(E), tell_object(E), catch_tell(L) |