Site Tools


aliases

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
aliases [2023/12/12 04:26] – created bloodninjaaliases [2024/04/02 05:35] (current) – Progress bloodninja
Line 2: Line 2:
  
 In the MUD implementation, an ''ALIAS'' is a string containing a sequence of commands which are executed as a batch when the alias is executed. It is private to the character on which it is defined. There are two steps to using aliases: In the MUD implementation, an ''ALIAS'' is a string containing a sequence of commands which are executed as a batch when the alias is executed. It is private to the character on which it is defined. There are two steps to using aliases:
-  - //declare// the alias using ''ALIAS yourword instruction1 arg1 arg2; instruction2 arg 3'' etc.;+  - //declare// the alias using ''ALIAS yourword instruction1 arg1 arg2; instruction2 arg3'' etc.;
   - //invoke// the alias using ''yourword''   - //invoke// the alias using ''yourword''
  
Line 15: Line 15:
 q rat q rat
 </code> </code>
-will fail because ''kill'' requires an argument consisting of at least four characters to unambiguously identify its target, and ''$1'' is (naively) too short to qualify. FIXME+will fail because ''kill'' requires an argument consisting of at least four characters to unambiguously identify its target, and ''$1'' is (naïvely) too short to qualify. FIXME
  
 You can redefine aliases in-situ: You can redefine aliases in-situ:
Line 33: Line 33:
   * Pain Editor;   * Pain Editor;
   * Levitate spell;   * Levitate spell;
-  * Adept Powers;+  * [[adeptpowers|Adept Powers]];
   * Astral Perception;   * Astral Perception;
   * Ritual casting a bunch of spells;   * Ritual casting a bunch of spells;
   * Power focus;   * Power focus;
 +  * slotting a Skillsoft into a Chipjack;
   * etc.   * etc.
  
 A quick way to get back up to speed is to bundle them together into an alias that is uniquely tailored to your character. An example might be: A quick way to get back up to speed is to bundle them together into an alias that is uniquely tailored to your character. An example might be:
 <code> <code>
-alias buff activate Quintessence; activate Pain Editor; spool 6 0 0; cast Levitate self; spool 0 0 6; cpool 0 10 0+alias buff jack Negotiation; activate Quintessence; activate Pain Editor; spool 6 0 0; cast Levitate self; spool 0 0 6; cpool 0 10 0
 </code> </code>
-Then you can type ''buff'' to quickly restore a known state. (If DocWagon doesn't bring your equipment, you might not //have// all the items referred to in your alias and get some errors... this is an advantage to implanted augmentations that always come with you.)+You will need to build your own recipe specific to the weapons / augmentations / powers / spells your character has collected. 
 + 
 +Then you can type ''buff'' to quickly restore a known state. (If DocWagon doesn't bring your equipment, you might not //have// all the items referred to in your alias and get some errors. The fact that implanted augmentations always come with you is a significant advantage here.) 
 + 
 +===== Communication ===== 
 +When someone sends you in-game mail, your Pocket Secretary beeps. If you're currently engaged in a private-message conversation (with ''tell'') then incoming messages will bounce an error back to the sender if they transit while you're pocsecing. Avoiding that can mean you don't get to read your new mail until the conversation concludes. This alias rapidly displays your most recently received message, narrowing the window you're unavailable for incoming tells: 
 +<code> 
 +alias pocsec use poc; 1; r; 1; ; b; b 
 +</code> 
 +Likewise you can rapidly send a one-liner with this alias: 
 +<code> 
 +alias pocsend use poc; 1; s; $1;Hi $*;;@; b; b 
 +</code> 
 +used by typing the recipient followed by the entire message on one line: 
 +<code> 
 +pocsend FirstLast it was great running missions with you today - thanks! 
 +</code> 
 +Test it by //pocsend//ing your own character a test message. 
 + 
 +If you use a pocsec for an extended period, you can type ''history OOC'', ''history newbie'', etc. to check what you missed.
  
 ===== Navigation ===== ===== Navigation =====
 ==== Closed doors ==== ==== Closed doors ====
-Doors close periodically. You might open a door, complete an objective, and on the return journey find the door has closed and blocked your path. Although you can type ''N'', ''E'', ''S'', ''W'', etc. to move, you //cannot// type ''OPEN N'' to open a door in that direction due to a bug in the interpreter first trying to match an item in your inventory before considering Exits from the Room (//You can't open a Docwagon Modulator//, etc.) Therefore this block of aliases are short and easy to type when encountering a closed Exit:+Doors close periodically. You might open a door, complete an objective, and on the return journey find the door has closed and blocked your path. Although you can type ''N'', ''E'', ''S'', ''W'', etc. to move, you //cannot// type ''OPEN N'' to open a door in that direction due to a bug in the interpreter first trying to match an item in your inventory before considering Exits from the Room (//You can't open a Docwagon Modulator//, etc.) FIXME Therefore this block of aliases are short and easy to type when approaching a closed Exit:
 <code> <code>
 alias nn  unlock north; open north; north alias nn  unlock north; open north; north
Line 71: Line 91:
 When you ''ENTER'' a vehicle, it unlocks. You can write an Alias which locks it again. When you ''ENTER'' a vehicle, it unlocks. You can write an Alias which locks it again.
 <code> <code>
-alias bison enter my.bison; lock+alias truck enter my.truck; lock
 </code> </code>
  
Line 80: Line 100:
 This covers characters who sleep in their cars and ensures you don't step out of your vehicle directly into aggressing Lone Star by having a weapon wielded. This covers characters who sleep in their cars and ensures you don't step out of your vehicle directly into aggressing Lone Star by having a weapon wielded.
  
-If you want to be able to Autonav directly to GridGuide coordinates:+If you want to be able to Autonav directly to [[gridguidelist|GridGuide coordinates]]:
 <code> <code>
 alias gridref grid add temp $*; grid temp; grid del temp alias gridref grid add temp $*; grid temp; grid del temp
 </code> </code>
-Then you can execute ''gridref lat,long'' directly.+Then you can execute ''gridref lat,long'' directly (eg ''gridref -121172, 60686'').
  
 ==== Checkpoints ==== ==== Checkpoints ====
Line 94: Line 114:
 ===== Health recovery ===== ===== Health recovery =====
 ==== Medical Shop ==== ==== Medical Shop ====
-When you wake in Seattle Doc Wagon at low health, you can try to First Aid yourself up; you may be able to cast Healing spells on yourself. You can also run to Splat! and use their Medical Shop which is better than your Medical //Kit//:+When you wake in Seattle DocWagon at low health, you can try to First Aid yourself up; you may be able to cast Healing spells on yourself. You can also run to Splat! and use their Medical Shop which is better than your Medical //Kit//:
 <code> <code>
 alias medlab holster; s; e; s; w; n; n; w; w; w; w; n; n; n; w; s; treat self alias medlab holster; s; e; s; w; n; n; w; w; w; w; n; n; n; w; s; treat self
Line 116: Line 136:
  
 ==== Trade ==== ==== Trade ====
-Transfer nuYen from your cash to your credstick:+If you find yourself frequently considering and comparing a sequence of items in a shop, you can streamline this:
 <code> <code>
-alias cred deposit $1; transfer $1 credstick; look credstick; balance+alias ip info #$1; probe #$1
 </code> </code>
-then use it for example, ''cred 1500''. If you forget to supply a value11 nuYen will be attemptedFIXME+and then type ''ip 1'', ''ip 2'', etc.
  
 Certain commands are less obvious to remember than they could be: Certain commands are less obvious to remember than they could be:
Line 126: Line 146:
 alias bribe availoffset $1 alias bribe availoffset $1
 </code> </code>
 +and it's easy to accidentally forget that availoffset has been left in an extravagant state, causing all your future purchases to spend more than necessary until you think of turning availoffset on next only to find out it has been on all along. To avoid this:
 +<code>
 +alias hardbuy activate Kinesics; jack Negotiation; availoffset 5; buy #$1; availoffset 0; unjack 1; deactivate Kinesics
 +</code>
 +and then type ''hardbuy 5'', ''hardbuy 11'', etc. before continuing with your day, confident that availoffset is back to zero.
  
 You can see which pieces of gear need to be repaired: You can see which pieces of gear need to be repaired:
 <code> <code>
-alias dmg EQUIP DAMAGED+alias dmg equip damaged
 </code> </code>
  
Line 138: Line 163:
 alias jj junk all.sweeper; junk all.green; junk all.davis; junk all.marten; junk all.suspender; junk all.iron; junk all.humanis alias jj junk all.sweeper; junk all.green; junk all.davis; junk all.marten; junk all.suspender; junk all.iron; junk all.humanis
 </code> </code>
-etc. et al. ad nauseam.+//etc. et al. ad nauseam.//
  
 If you have something in your bags that matches such a keyword that you don't want junked, ''KEEP'' it first to protect it. If you have something in your bags that matches such a keyword that you don't want junked, ''KEEP'' it first to protect it.
  
-You may find that certain items consist of a worthless heavy component and a valuable light component. An alias can assist relieve RSI:+You may find that certain items consist of a worthless heavy component and a valuable light component that's worth caching and selling. An alias can assist such a routine:
 <code> <code>
 alias smart detach smartlink 1.predator; put smartlink backpack; junk 1.predator alias smart detach smartlink 1.predator; put smartlink backpack; junk 1.predator
Line 163: Line 188:
 CPool being adjusted automatically to adhere to the rules //is a good thing// but to help protect my cerebral wetware from surprises, I use aliases like these to equip my [m]êlée, [r]anged, or [gh] to loot everything and holster everything: CPool being adjusted automatically to adhere to the rules //is a good thing// but to help protect my cerebral wetware from surprises, I use aliases like these to equip my [m]êlée, [r]anged, or [gh] to loot everything and holster everything:
 <code> <code>
-alias rr sheathe; draw rifle; cpool 4 0 6; mode bf; reload; pockets 
 alias mm holster; draw pole; cpool 0 4 6; stand; activate Counterstrike alias mm holster; draw pole; cpool 0 4 6; stand; activate Counterstrike
 +alias rr sheathe; draw rifle; cpool 4 0 6; mode bf; reload; pockets
 alias gh cpool 0 10 0; holster; cpool 0 10 0; get all all.corpse; look; scan alias gh cpool 0 10 0; holster; cpool 0 10 0; get all all.corpse; look; scan
 </code> </code>
-In the above lines, ''draw rifle'' finds an equipped ''rifle strap'' with a weapon inside it, and puts that weapon in your hands. If your weapon is in something else (like a concealed shoulder holster) you'll need to put the name of that container here. Sometimes weapons can forget their firing mode, or maybe last time you used it you went ''PRONE'' with tripod and forgot you left it on FA-10so the alias ensures next time you draw it, it's in an expected firing mode.+In the above lines, ''draw pole'' finds an equipped ''polearm strap'' with a weapon inside it, and puts that weapon in your hands. If your weapon is in something else (like a boot knife sheath) you'll need to put the name of that container here. If you are not Physical Adeptomit the Counterstrike power.
  
-Likewise, ''draw pole'' finds an equipped ''polearm strap'' with a weapon inside it, and puts that weapon in your hands. If your weapon is in something else (like a boot knife sheath) you'll need to put the name of that container here. If you are not Physical Adeptomit the Counterstrike power.+Likewise, ''draw rifle'' finds an equipped ''rifle strap'' with a weapon inside it, and puts that weapon in your hands. If your weapon is in something else (like a concealed shoulder holster) you'll need to put the name of that container here. Sometimes weapons can forget their firing mode, or maybe last time you used it you went ''PRONE'' with tripod and forgot you left it on FA-10so the alias ensures next time you draw it, it's in an expected firing mode.
  
-''gh'' here sets CPool to defence, twice: once with a weapon out, and once with no weapon out. That way when you walk into an ambush, you're Staging Down already, and when you automatically draw in response, you're still Staging Down.+''gh'' here sets CPool to defence, twice: once with a weapon out, and once with no weapon out. That way when you walk into an ambush, you're Staging Down already, and when you automatically draw in response, you're //still// Staging Down.
  
 As a [[houserules|houserule]], the MUD implementation disallows Dodge while prone. Therefore to avoid inadvertently wasting CPool on Dodge, you could define an alias: As a [[houserules|houserule]], the MUD implementation disallows Dodge while prone. Therefore to avoid inadvertently wasting CPool on Dodge, you could define an alias:
 <code> <code>
-alias pro cpool 0 6 4; prone+alias prone cpool 0 6 4; prone
 </code> </code>
  
 ==== Astral Projection ==== ==== Astral Projection ====
-When you first Astrally Project, your Pools are set to default and often not all your Pool dice are representedFIXME These aliases set you up for resilience and reorientation.+When you first Astrally Project, your Spell Pool is inherited and your Astral Combat Pool is recalculated. Your priorities while Projecting will likely be different from when on the Physical plane (since Drain causes Physical, not Stun, damage; and since there are no ranged attacks to Dodge) therefore you may prefer a specific pool distribution while Projecting. These aliases set you up for resilience and reorientation.
 <code> <code>
-alias pj project; cpool 0 12 0; spool 0 0 12; pools+alias pj time; project; cpool 0 12 0; spool 0 0 12; pools
 alias rt return; stand; status; penalt; exits alias rt return; stand; status; penalt; exits
 </code> </code>
 Begin projecting with ''pj''; return with ''rt''. Begin projecting with ''pj''; return with ''rt''.
  
-Remember to include ''@Z'' in your ''PROMPT'' to keep track of your Essence depleting over time.+Remember to include ''@Z'' in your ''PROMPT'' to keep track of your Essence depleting over time. ''TIME'' helps you see how much time has elapsed.
  
 ===== Matrix ===== ===== Matrix =====
 ==== Jacking in ==== ==== Jacking in ====
-When you jack in, you want a carefully curated set of Utilities ''LOAD''ed from your Deck's storage memory to your Icon's active memory without loading (so many) (unnecessary) Utilities that you have inadequate capacity for the essentials. But you don'want to work that out and type it in //every single time!//+When you jack in, you want a carefully curated set of Utilities ''LOAD''ed from your Deck's storage memory to your Icon's active memory without loading (so many) (unnecessary) Utilities that you have inadequate capacity for the essentials. Entry-level Cyberdecks have enough active memory to load most Utilities you'll need so can lean on the ''DEFAULT'' command (''HELP DEFAULT''). 
 + 
 +As rating rises, [[houserules#decking|Utility MP rises faster than Deck memory does]], so there comes a point where you might want to load specific ratings of specific Utilities for specific runs -- without wanting to work that out and type it in every time:
 <code> <code>
 alias jackin connect; load armour; load browse; load sleaze; load read; load analyze; load deception; load decrypt; load attack alias jackin connect; load armour; load browse; load sleaze; load read; load analyze; load deception; load decrypt; load attack
 </code> </code>
 +
 +Substitute the generic names above for the specific brand names you've chosen.
  
 ==== Jacking out ==== ==== Jacking out ====
Line 206: Line 235:
 alias atk run attack $* alias atk run attack $*
 </code> </code>
 +then you can ''atk IC'' just like you ''locate IC''.
  
 +==== Convenience ====
 While the Decrypt Utility provides the ''DECRYPT'' command, the Defuse Utility provides the ''DISARM'' command: While the Decrypt Utility provides the ''DECRYPT'' command, the Defuse Utility provides the ''DISARM'' command:
 <code> <code>
Line 229: Line 260:
 </code> </code>
  
-You may find that you keep on losing your Cyberdeck Utilities and then spot them drifting loose through Matrix hosts unexpectedly. This is because ''LOAD'' "uploads" a utility to your Icon but ''__UP__LOAD'' "uploads" a file to your Host. So if you naively ''UPLOAD ATTACK'' to re-arm yourself when a tarpit has crashed your Matrix weapon, what you're inadvertently doing is throwing it away into cyberspace.+You may find that you keep on losing your Cyberdeck Utilities and then spot them drifting loose through Matrix hosts unexpectedly. This is because ''LOAD'' "uploads" a utility to your //Icon// but ''__UP__LOAD'' "uploads" a file to your //Host//. So if you naïvely ''UPLOAD ATTACK'' to re-arm yourself when a tarpit has crashed your Matrix weapon, what you're inadvertently doing is throwing it away into cyberspace.
 <code> <code>
 alias uploadfile upload $* alias uploadfile upload $*
 alias upload load $* alias upload load $*
 </code> </code>
-With this alias in placeif you //do// need to intentionally //upload// a file, you can ''uploadfile'' or will have to delete the alias (with ''ALIAS UPLOAD''). +With these aliases in place
- +  * you can use either "load" or "upload" to send content to your Icon; 
 +  * if you //do// need to intentionally //upload// a file to the host, you can use ''uploadfile''
 +  * you can restore access to normal ''upload'' after deleting the alias with ''ALIAS UPLOAD''
  
aliases.1702383995.txt.gz · Last modified: 2023/12/12 04:26 by bloodninja