Difference between revisions of "BeipMU Aliases"
Line 20: | Line 20: | ||
Other: Whole Word, Match Case | Other: Whole Word, Match Case | ||
− | ===Semipose=== | + | ===Semipose Shortcut=== |
This alias makes MUSH's semipose character (;) retrieve MOO's semipose syntax (::). | This alias makes MUSH's semipose character (;) retrieve MOO's semipose syntax (::). | ||
Line 26: | Line 26: | ||
Alias For: <code>::</code> | Alias For: <code>::</code> | ||
+ | |||
+ | Other: Line Starts With... | ||
+ | ===@emit Shortcut=== | ||
+ | This alias makes MUSH's semipose character (;) retrieve MOO's semipose syntax (::). | ||
+ | |||
+ | 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". | ||
Other: Line Starts With... | Other: Line Starts With... |
Revision as of 10:48, 6 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. 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 semipose character (;) retrieve MOO's semipose syntax (::).
Matcharoo: \
Alias For: @emit
Please note: It is VERY IMPORTANT to include the trailing space after this. That is, the Alias For is "@emit ", not "@emit".
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