[Home] [Downloads] [Search] [Help/forum]

Send

When sending a file to a MUD you have the option to prepend or append strings to your file (in other words, put text before and/or after each line, and the entire file).

Note that there will always be a "linefeed" sent at the end of each line, you do not need to send one yourself.

Programming a MUD

If you are writing a program for an LP MUD you might want to start with:

<commands to start up the internal editor>

Then at the start of each line:

<command to insert a line>

Then at the end of the file:

<command to exit from the editor>


Echoing messages

Alternatively, you may wish to echo a message to someone that you heard elsewhere (e.g. from email). In this case you might wish to put, at the start of each line:

say

so that you "say" the contents of the file.

1. Send this at the start of a "send file to world":

This string is sent once, at the start of a "send file" operation. It could be used to enter programming mode on a MUD, if necessary. This string can consist of multiple lines, with "carriage returns" between each line.

2. Send this at the start of each line:

This string is sent at the start of each line from the file. It could contain any special prefix that you need at the start of each line, for example, the word "say ".

3. Send this at the end of each line:

This string is sent at the end of each line from the file

4. Send this at the end of a "send file to world":

This string is sent once, at the end of a "send file" operation. It could be used to exit from programming mode on a MUD, if necessary. This string can consist of multiple lines, with "carriage returns" between each line.

Delay between lines:

You can set a delay of up to 10 seconds between each line of text that is sent to the world. This is designed to give the server time to respond. Time is specified in milliseconds (1000 milliseconds to one second). You should keep this time as short as possible to avoid lengthy delays on doing a send. A reasonable figure might be 100 (1/10 of a second).

Every X lines

This is the number of lines that are sent before the delay (above) is invoked. Thus, you could set it up to delay 2 seconds every 100 lines.

Commented Softcode

This allows you to send commented softcode to a MUSH (MUX, or similar). See the description for "sending and pasting" for more details about that.

Echo to output window

If checked, the file is echoed to the output window, otherwise it is not.

Confirm on each "send file to world"

If checked, you are asked to confirm the above settings each time you paste to a MUD. If unchecked, these options are taken "as is".


See Also ...

Topics

Commented softcode
Sending to the world

Command

(ConfigureSendFile) Sets 'send file' options

Dialog

Confirm preamble and postamble for pasting or sending file to the world

(Help topic: dialog=IDD_PREFS_P10)

Documentation contents page


Search ...

Enter a search string to find matching documentation.

Search for:   

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]