Difference between revisions of "MUSH to MOO Guide"

From Super Robot Wiki
Jump to navigation Jump to search
(Undo revision 573 by TemRayCkt (talk))
Tag: Undo
Line 1: Line 1:
== Aliases ==
+
If you're coming from another modern roleplaying codebase, such as MUSH or MUCK, there are a few peculiarities to MOO that may throw you. You're likely used to the general flow of play, which has been substantially unchanged, but there will be differences here and there. We've taken a fair amount of time to adjust them, with interoperability as a priority.
We are well aware that not everyone is going to like every function of MOO, and that there are a lot of common MUSH conventions it gets just... barely... wrong. Just a touch.
 
  
Accordingly, we offer support for aliasing a lot of commands in BeipMU. These aliases are provided below, in the following format:
+
**Non-Channel Communications**
  
Matcharoo - place this in the Matcharoo box of the alias prompt.
+
Communication on MOOs is much like communication on MUSHes; the usual command markers -- ", :, and @emit -- all work equally well. There are only two core differences between the commands. One has to do with spacing, while the other has to do with semiposing.
  
Alias For - place this in the Alias For box of the alias prompt.
+
Spacing
  
Other - Boxes that must be ticked in the alias.
+
* " and : are meant to be compact, short commands on MOOs. These commands do not evaluate %r, %t, and %b; however, they will take any number of nonbreaking spaces you happen to want, unlike MUSHes, which sanitize multiple spaces down to a single space. Emit/@emit still takes %r, %t, and %b in more or less the expected ways.
 +
* %t, rather than inserting an indent to a fixed point, inserts eight consecutive spaces. As %t is generally used only to start a pose, and %b is preferred in formatting internally anyway, this should not cause more than the occasional hiccup. (Use %b for internal formatting. It is more reliable, in general.)
  
The "Process Aliases" box in the upper right of the alias builder must be checked.
+
Semiposing
  
=== Interaction Commands ===
+
In MUSH syntax, the semicolon is used to perform semiposes. While semiposes still exist in MOO (how else would we talk about the things we own?), the syntax for one is ::, rather than ;. For instance, if you, Amuro Ray, wanted to announce that your Haro is stinky, you would input:
  
==== Quit ====
+
::'s Haro is stinky.
This alias makes QUIT (MUSH syntax) fire a successful @quit.
 
  
Matcharoo: <code>QUIT</code>
+
And receive:
  
Alias for: <code>@quit</code>
+
Amuro Ray's Haro is stinky.
  
Other: Whole Word, Match Case
+
**Colors**
  
==== Semipose ====
+
Someone smarter than me will have to write this one.
This alias makes MUSH's semipose character (;) retrieve MOO's semipose syntax (::).
 
 
 
Matcharoo: <code>;</code>
 
 
 
Alias For: <code>::</code>
 
 
 
Other: Line Starts With...
 
 
 
=== Csys Commands ===
 
 
 
==== Attack Command ====
 
This alias allows the attack command to take an = instead of a with, in the manner common on MUSHes.
 
 
 
Matcharoo: <code>\+attack ([\w']*\p{L}*\w[\w.]*(?:-\w+.)?)=([\w']*\p{L}*\w[\w.]*(?:-\w+.)?)</code>
 
 
 
Alias For: <code>+attack \1 with \2</code>
 
 
 
Other: Regular Expression
 
 
 
==== Defense Command ====
 
This alias allows reaction commands to take the MUSH convention format of +reactiontype # instead of the MOO convention format of +defend # with reactiontype.
 
 
 
Matcharoo: <code>\+(block|parry|react|retreat|rush|charge|evade|intercept|accept) ([\w']*\p{L}*\w[\w.]*(?:-\w+.)?)</code>
 
 
 
Alias For: <code>+defend \2 with \1</code>
 
 
 
Other: Regular Expression
 

Revision as of 10:33, 6 September 2021

If you're coming from another modern roleplaying codebase, such as MUSH or MUCK, there are a few peculiarities to MOO that may throw you. You're likely used to the general flow of play, which has been substantially unchanged, but there will be differences here and there. We've taken a fair amount of time to adjust them, with interoperability as a priority.

    • Non-Channel Communications**

Communication on MOOs is much like communication on MUSHes; the usual command markers -- ", :, and @emit -- all work equally well. There are only two core differences between the commands. One has to do with spacing, while the other has to do with semiposing.

Spacing

  • " and : are meant to be compact, short commands on MOOs. These commands do not evaluate %r, %t, and %b; however, they will take any number of nonbreaking spaces you happen to want, unlike MUSHes, which sanitize multiple spaces down to a single space. Emit/@emit still takes %r, %t, and %b in more or less the expected ways.
  • %t, rather than inserting an indent to a fixed point, inserts eight consecutive spaces. As %t is generally used only to start a pose, and %b is preferred in formatting internally anyway, this should not cause more than the occasional hiccup. (Use %b for internal formatting. It is more reliable, in general.)

Semiposing

In MUSH syntax, the semicolon is used to perform semiposes. While semiposes still exist in MOO (how else would we talk about the things we own?), the syntax for one is ::, rather than ;. For instance, if you, Amuro Ray, wanted to announce that your Haro is stinky, you would input:

's Haro is stinky.

And receive:

Amuro Ray's Haro is stinky.

    • Colors**

Someone smarter than me will have to write this one.