say |
Discworld driver help |
say |
Name
say() - send a message to all users in the same environment
Synopsis
void say( string str );
void say( string str, object | object *obj );
void say( string str, object | object *obj, string language );
void say( string* str, object | object *obj, string language );
Description
Sends a message to the environment of the originator, all items in the same environment, and all items inside of the originator. The originator is this_player(), unless this_player() == 0, in which case, the originator is this_object().
The second argument is optional. If second argument `obj' is specified, the message is sent to all except `obj'. If `obj' is not an object, but an array of objects, all those objects are excluded from receiving the message.
The third argument is optional. If it is specified it sets the language the say will be garbled with. If the language is specified then the string passed in can be an array, the first element being the start bit and the second element being the message to mangle.