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 5: Line 5:
  
 
Matcharoo - place this in the Matcharoo box of the alias prompt.
 
Matcharoo - place this in the Matcharoo box of the alias prompt.
 +
 
Alias For - place this in the Alias For box of the alias prompt.
 
Alias For - place this in the Alias For box of the alias prompt.
 +
 
Other - Boxes that must be ticked in the alias.
 
Other - Boxes that must be ticked in the alias.
 +
 
The "Process Aliases" box in the upper right of the alias builder must be checked.
 
The "Process Aliases" box in the upper right of the alias builder must be checked.
  
Line 15: Line 18:
  
 
Matcharoo: <code>QUIT</code>
 
Matcharoo: <code>QUIT</code>
 +
 
Alias for: <code>@quit</code>
 
Alias for: <code>@quit</code>
 +
 
Other: Whole Word, Match Case
 
Other: Whole Word, Match Case
  
Line 22: Line 27:
  
 
Matcharoo: <code>;</code>
 
Matcharoo: <code>;</code>
 +
 
Alias For: <code>::</code>
 
Alias For: <code>::</code>
 +
 
Other: Line Starts With...
 
Other: Line Starts With...
  
Line 31: Line 38:
  
 
Matcharoo: <code>\+attack ([\w']*\p{L}*\w[\w.]*(?:-\w+.)?)=([\w']*\p{L}*\w[\w.]*(?:-\w+.)?)</code>
 
Matcharoo: <code>\+attack ([\w']*\p{L}*\w[\w.]*(?:-\w+.)?)=([\w']*\p{L}*\w[\w.]*(?:-\w+.)?)</code>
 +
 
Alias For: <code>+attack \1 with \2</code>
 
Alias For: <code>+attack \1 with \2</code>
 +
 
Other: Regular Expression
 
Other: Regular Expression
  
Line 38: Line 47:
  
 
Matcharoo: <code>\+(block|parry|react|retreat|rush|charge|evade|intercept|accept) ([\w']*\p{L}*\w[\w.]*(?:-\w+.)?)</code>
 
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>
 
Alias For: <code>+defend \2 with \1</code>
 +
 
Other: Regular Expression
 
Other: Regular Expression

Revision as of 10:29, 6 September 2021

Aliases

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:

Matcharoo - place this in the Matcharoo box of the alias prompt.

Alias For - place this in the Alias For box of the alias prompt.

Other - Boxes that must be ticked in the alias.

The "Process Aliases" box in the upper right of the alias builder must be checked.

Interaction Commands

Quit

This alias makes QUIT (MUSH syntax) fire a successful @quit.

Matcharoo: QUIT

Alias for: @quit

Other: Whole Word, Match Case

Semipose

This alias makes MUSH's semipose character (;) retrieve MOO's semipose syntax (::).

Matcharoo: ;

Alias For: ::

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: \+attack ([\w']*\p{L}*\w[\w.]*(?:-\w+.)?)=([\w']*\p{L}*\w[\w.]*(?:-\w+.)?)

Alias For: +attack \1 with \2

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: \+(block|parry|react|retreat|rush|charge|evade|intercept|accept) ([\w']*\p{L}*\w[\w.]*(?:-\w+.)?)

Alias For: +defend \2 with \1

Other: Regular Expression