This lets you send large amounts of data to the world in a single operation (eg. from a disk file). You might use this for sending attibutes to a MUSH or similar.
The purpose of this is to keep the (rather obscure) softcode commands in a text file with lots of comments in them. Then, in sending them to the MUSH the comments are stripped out.
Basically, there are two different kinds of softcode formatting - #-commented and @@-commented, with slightly different rules. The basic part is you take a segment like
You start with the first line and append all subsequent lines until you get a '-' in the first column. The different commenting styles are like this:
# This is #-commenting
# Comments are determined by having a '#' in the first column.
Bleh # This goes through as well - # not on first column
Bleh @@ In this case, @@ comments go through
The other commenting style
@@ This is @@-commenting
@@ Basically, anything after @@ on a line is stripped
MUSHclient determines which style to use by the first non-blank line of softcode.
If the first line starts with "#" then hash-commenting is used, otherwise the "@@" commenting style is used.
See Also ...
Sending to the world
(ConfigureSendFile) Sets 'send file' options
(Help topic: general=send_paste)
Documentation contents page
Enter a search string to find matching documentation.
Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.
Gammon Software support
Forum RSS feed ( https://gammon.com.au/rss/forum.xml )