$0 technically means "everything after the alias itself goes in this spot".

If you wanted to specify specific arguments you could do that by using $1 $2 and so on.

So, as an example, if you wanted to reverse the order of item and material when crafting from:

forge create links iron

to instead be

fc iron links

you could enter:

alias set fc

forge create $$2 $1

/done

Note that this is generally a pointless alias. It's better not to do such things because there's an increased chance of confusion when interacting with others, though it serves as a decent example for illustrative purposes.


On 2/18/2025 20:53, Heather Seaman via groups.io wrote:

I think you can also use alias remove "alias name" to delete an alias. So for example, alias remove jfg. Also, thanks for explaining how to type commands that aren't combat or equipment related. I never thought of using an alias to do things like finding guild jobs. But one question: What is the 0 actually for? What argument would that replace in the jfg alias, for instance?

On Feb 18, 2025 7:03 PM, "John via groups.io" <jpcarnemolla=comcast....@groups.io> wrote:

   alias set <command>

   you will be moved into an editor

   Enter the commands you want the alias to execute. Use $0 to fill in
   arguments.

   Enter /done when finished and /help for instructions.

   So, for example, to type jfg <guild> for job find guild, do:


   alias set jfg

   job find guild $0

   /done


   To delete an alias type unalias <alias>


   On 2/18/2025 16:03, Jude DaShiell via groups.io wrote:
   Try putting anything in that's not a word on the first line and the
   alias set command freaks out. I wanted to use jfg for job find guild
   and jfh for job find humter and jfp for job find priest and couldn't
   enter or save any of them. Do these aliases need saving in a .tin
   file outside of alteraeon proper?



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#127746): https://groups.io/g/blind-gamers/message/127746
Mute This Topic: https://groups.io/mt/111258631/21656
Group Owner: blind-gamers+ow...@groups.io
Unsubscribe: 
https://groups.io/g/blind-gamers/leave/607459/21656/1071380848/xyzzy 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to