ap:send-msg

Top  Previous  Next

Command Group

 

AdminGeneral

 

Description

 

Send a message to one or more users.

 

Format

 

ap:send-msg options: message

ap:send-msg message

 

Options

-u='query1,query2...queryn'

Send this message to users who match one or more of the provided name queries.

-n='coordinates'

Send this message to users who are within chat range of the specified coordinates.

-c=RRGGBB

Use an HTML-style color code.

-b

If specified, this message will appear in bold.

-i

If specified, this message will appear in italics.

 

All of these options can be combined in any order.

 

Examples

 

To send a message to all users without any options:

ap:send-msg Hi everybody!

 

To send a message to all users whose name contains the letter "S":

ap:send-msg -u='~S': Hello, S's.

 

To send a message to everyone around coordinates "4N 1.5E":

ap:send-msg -n='4N 1.5E': Boo!

 

To send a message using the HTML color code for red:

ap:send-msg -c=FF0000: Message in red.

 

To send a message to all users near 0N 0W, and to users under cit#1's privileges, in green color, with bold:

ap:send-msg -c=008000 -u='#a1' -n='0N 0W' -b: This is an important message. Don't lose it.