Spoof

From Flexible Survival
Jump to: navigation, search

spoof - A roleplaying command to echo arbitrary text to the entire room.


Along with say and emote/pose, this is one of the main roleplaying commands. Unlike the other commands, this does not automatically include your name in the text seen by other players, allowing for maximum flexibility in expressing your actions and other events that happen.

A useful but otherwise undocumented feature is that in the text supplied to the spoof command, %r will be replaced by a line break, and %t will be replaced by a tab. This can aid in formatting long messages and breaking them up into paragraphs. If using them together, there must be at least one space between them for the replacement to work correctly.


Options

When set, these options will apply to all following spoofs.

spoof
On its own, it provides the in-game help menu
spoof #[!]parens
Enable (or disable with the '!') showing all spoof messages you receive from others in parentheses to aid in identifying them from server-generated messages. Note that any spoofs that start with another player's name, whether they are present or not, will always be displayed this way, and several common words are used as names.
spoof #custom [<start> <end>]
Replace the standard parentheses with custom characters. If called without parameters, it resets to the default characters.
spoof #[!]always
Similar to the #parens option, this causes all of your spoof messages to appear in parentheses.
spoof #[!]ignore
Prevent the display of all spoof messages (or re-enable with '!'). This also prevents you using the spoof command yourself.
spoof #[!]show
Show the originating player's name as a prefix to each spoof message so you can tell who they came from.
spoof #modes
Show your current parens/always/ignore/custom settings.


Examples

Using the example of: spoof A teapot falls from the shelf, smashing as it hits the ground, it will appear as:

Option enabled Displayed Result
none A teapot falls from the shelf, smashing as it hits the ground
#parens ( A teapot falls from the shelf, smashing as it hits the ground )
#parens and #custom [-- --] [-- A teapot falls from the shelf, smashing as it hits the ground --]
#show [Judith(#12345)]: A teapot falls from the shelf, smashing as it hits the ground


Using the formatting characters, the command:

spoof %t Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc sed pretium tellus. Aenean lobortis malesuada laoreet. Donec sit amet tincidunt elit. Aliquam nec pellentesque enim. Morbi vel malesuada arcu. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Sed accumsan pellentesque vestibulum. Integer et eleifend sapien.%r %r %tIn response to this, everyone looks confused as it made no sense. They then went back to doing whatever it was they were doing before this bizarre interruption.

produces the output:

       Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc sed pretium tellus. Aenean lobortis malesuada laoreet. Donec sit amet tincidunt elit. Aliquam nec pellentesque enim. Morbi vel malesuada arcu. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Sed accumsan pellentesque vestibulum. Integer et eleifend sapien.
       
       In response to this, everyone looks confused as it made no sense. They then went back to doing whatever it was they were doing before this bizarre interruption.