Jump to content

[CHANGE] Aliases


Erelei

Recommended Posts

  • Implementor
Hot Change Date: 03/18/2018

 The "$" character has been removed as a placeholder, due to logging issues, which pull information from other parts of the MUD. Essentially a memory leak issue. Please use "#" as the place holder for all new aliases, as "$" will no longer work.

Here's a copy of "ALIAS ADVANCED": https://theforsakenlands.com/wiki/search/?s=alias+advanced

 

ALIAS ADVANCED
 
COMMANDS ARGUMENTS
SPECIAL CHARACTERS:
  There are three special characters used inside the alias:
  ";"- seperates commands within an alias
  "#"   - inserts the alias argument
  "%"   - escapes the next character explicitly (if you want to use ; or $ as text)
 
Example 1 (multiple commands):
alias cw cast 'word of recall';where pk
cw
Would execute:
cast 'word of recall'
where pk
 
Example 2 (multiple commands with arguments):
alias cas cast 'armor' #;cast 'shield' #
cas bob
Would execute:
cast 'armor' bob
cast 'shield' bob
 
Example 3 (escaping special characters):
alias ca %;casting armor on #.;cast 'armor' #;
ca bob
Would execute:
;casting armor on #.		//group talk 'casting armor on $'
cast 'armor' bob
 
USING ALIASES IN ALIAS
  You can use an alias in another alias for added functionality.
Example:
alias cw cast 'word of recall'
alias wh where pk
alias escape cw;wh
escape
Would execute:
cast 'word of recall'
where pk
 
See Also: HELP ALIAS

 


View full hot change

  • Like 3
Link to comment
Share on other sites

×
×
  • Create New...