Difference between revisions of "MUSH to MOO Guide"

From Super Robot Wiki
Jump to navigation Jump to search
Line 15: Line 15:
  
 
==== Quit ====
 
==== Quit ====
This alias makes QUIT (MUSH syntax)
+
This alias makes QUIT (MUSH syntax) fire a successful @quit.
  
 
Matcharoo: <code>QUIT</code>
 
Matcharoo: <code>QUIT</code>
Line 24: Line 24:
  
 
==== Semipose ====
 
==== Semipose ====
 +
This alias makes MUSH's semipose character (;) retrieve MOO's semipose syntax (::).
 +
 
Matcharoo: <code>;</code>
 
Matcharoo: <code>;</code>
  
Line 33: Line 35:
  
 
==== Attack Command ====
 
==== 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>
 
Matcharoo: <code>\+attack ([\w']*\p{L}*\w[\w.]*(?:-\w+.)?)=([\w']*\p{L}*\w[\w.]*(?:-\w+.)?)</code>
  
Line 40: Line 44:
  
 
==== Defense Command ====
 
==== 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>
 
Matcharoo: <code>\+(block|parry|react|retreat|rush|charge|evade|intercept|accept) ([\w']*\p{L}*\w[\w.]*(?:-\w+.)?)</code>
  

Revision as of 10:24, 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