Documentation

#SEND

SEND

Syntax: #SE filename prefix suffix
Syntax: #SE text

Sends the contents of filename to the server. Each line of the file is prefixed by the prefix string before being sent and the suffix is appended to each line.

Or, if the first argument is not a valid filename, the text given is just sent to the server. The text is sent just as if you typed it, so it is echoed to the screen and available for #ONINPUT triggers. To send raw text to the server, see the #SENDRAW command.

SEND example

#SEND notes.txt {tell zugg}
Sends the file notes.txt and prefixes each line of the file with tell zugg
#SEND "hello there"
Sends the text "hello there" to the server just as if you had typed it (however, without the quotes)

Add comment

Login or register to post comments