Difference between revisions of "BeipMU Aliases"

From Super Robot Wiki
Jump to navigation Jump to search
Line 35: Line 35:
 
Matcharoo: <code>\</code>
 
Matcharoo: <code>\</code>
  
Alias For: <code>@emit</code> Please note: It is VERY IMPORTANT to include the trailing space after this. That is, the Alias For is "@emit ", not "@emit".
+
Alias For: <code>@emit</code> Please note: It is VERY IMPORTANT to include a trailing space after this. That is, the Alias For field is "@emit ", not "@emit".
  
 
Other: Line Starts With...
 
Other: Line Starts With...
Line 54: Line 54:
 
Matcharoo: <code>\+([\w']*\p{L}*\w[\w.]*(?:-\w+.)?) :</code>
 
Matcharoo: <code>\+([\w']*\p{L}*\w[\w.]*(?:-\w+.)?) :</code>
  
Alias For: <code>=\1</code>  Please note: It is very important to include the trailing space after this. That is, the alias is for "=\1 ", not "=\1".
+
Alias For: <code>=\1</code>  Please note: It is very important to include a trailing space after this. That is, the Alias For field is "=\1 ", not "=\1".
  
 
Other: Regular Expression
 
Other: Regular Expression

Revision as of 04:00, 7 September 2021

Aliasing

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. Even if you haven't MUSHed before, there are some syntax things you may like a little better.

Accordingly, we offer support for aliasing a lot of commands in BeipMU. Adding aliases can be achieved by going to Options -> Aliases in BeipMU's dropdown menu. Highlight the SRTMOO world, and click New to begin building a new alias.

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. Remember to hit Apply when finished!

Interaction Commands

Quit

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

Matcharoo: QUIT

Alias for: @quit

Other: Whole Word, Match Case

Semipose Shortcut

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

Matcharoo: ;

Alias For: ::

Other: Line Starts With...

@emit Shortcut

This alias makes MUSH's emit shortcut character (\) retrieve MOO's emit syntax (@emit ).

Matcharoo: \

Alias For: @emit Please note: It is VERY IMPORTANT to include a trailing space after this. That is, the Alias For field is "@emit ", not "@emit".

Other: Line Starts With...

Emoticon Pose Shortcut

This alias is... admittedly niche; it allows for MUSH-like pose behavior specifically in the context of doing a pose that begins with an emoticon.

Matcharoo: ::

Alias For: :: :

Other: Line Starts With...

Channel Commands

Channel Posing

This alias makes MOO channel posing work like MUSH channel posing.

Matcharoo: \+([\w']*\p{L}*\w[\w.]*(?:-\w+.)?) :

Alias For: =\1 Please note: It is very important to include a trailing space after this. That is, the Alias For field is "=\1 ", not "=\1".

Other: Regular Expression

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