Welcome to the Achaea Forums! Please be sure to read the Forum Rules.

Nexus-How to capture a whole line of text in an alias.

ShregShreg Member Posts: 25
edited September 2018 in Client Help
Does anyone know how to capture a whole line of text in a variable?  For example, I would like to be able to do something like this:
Alias:  doThis <command>
I input:  "doThis outr myrrh; eat myrrh"
I want it to capture all of  "outr myrrh; eat myrrh" in the variable @command.  It won't. So how do I rework this?

Note:  With the above alias it will only capture one word in @command, evin if "Starts With" is selected.

Tagged:

Best Answer

Answers

  • CaelanCaelan Member Posts: 1,995 @ - Epic Achaean
    Can you do "doThis (/S+)"?

  • ShregShreg Member Posts: 25
    How would I then reference the captured string?  I need to assign it to a variable that I can then use later. 
  • ShregShreg Member Posts: 25
    How would I then reference the captured string?  I need to assign it to a variable that I can then use later. 
Sign In to Comment.