diff --git a/src/site/xdoc/commands.xml b/src/site/xdoc/commands.xml index 37f03e7..a4ecb37 100644 --- a/src/site/xdoc/commands.xml +++ b/src/site/xdoc/commands.xml @@ -446,10 +446,25 @@ any responses received in response. if possible (note double-quoted strings are the only permitted scalars), otherwise the value will be interpreted as a plain string. -
-target <receiverId>
-
Specifies the SAMP public ID for a client to which this message will be - sent. This flag may be repeated to send the same messsage to more than - one recipient. If omitted, the message is broadcast to all +
-targetid <receiverId>
+
Specifies the SAMP public ID for a client to which this message + will be sent. + This flag may be repeated, or combined with -targetname, + to send the same messsage to more than one recipient. + If neither this nor -targetname is supplied, + the message is broadcast to all + clients which are subscribed to the MType. +
+
-targetname <receiverName>
+
Specifies an application name (samp.name metadata item) + identifying a client to which this message will be sent. + Names are matched case-insensitively. + If multiple clients with the same name are registered, only one + will be messaged. + This flag may be repeated, or combined with -targetid, + to send the same messsage to more than one recipient. + If neither this nor -targetid is supplied, + the message is broadcast to all clients which are subscribed to the MType.
-mode sync|async|notify
diff --git a/src/site/xdoc/history.xml b/src/site/xdoc/history.xml index a39ad15..e43408c 100644 --- a/src/site/xdoc/history.xml +++ b/src/site/xdoc/history.xml @@ -771,6 +771,9 @@ for SAMP objects in a few places:
  • Tone down warning in the Web SAMP confirmation dialogue slightly to reflect improved security measures in default Web Profile configuration.
  • +
  • The messagesender command-line tool has new flags + -targetname and -targetid which replace the + previous -target flag.
  • Add French translation for Web SAMP confirmation dialogue (thanks to Thomas Boch).
  • URL encode argument of ResourceHandler.addResource