Oh, I use the grep command all the time in my aliases.
I have one that shows my experience, and (this is from memory, so it may be off a bit)
but it's something like
level | grep experience

and then I just get two lines, one showing my current experience, and a second line mentioning something about experience (don't remember what it says) but I don't mind. I could eliminate that line by doing something like
level|grep experience|head 1

That would just show me my total experience, and not the other line that is talking about experience, but it doesn't bother me enough to change my
 alias. :)

You can do all kinds of things by stringing commands together and using grep, head, tail, and various other commands built-in to the alias set of commands. One of these days I really need to pull out all of my aliases, and do a write up on them and get it posted somewhere just to show folks what's possible, because I don't think folks realize how much information you can get yourself using the alias built-in commands and massage capabilities of the mud.

 On Mon, 27 Jun 2016, dark wrote:

Hi john.

Funny, i've never even heard of this command until I wanted a way to show the done quests as I said, hence why i'd like a streight forward way of doing it.

fair enough if people find the grep thing useful, but maybe I'm just not good with all this scripting malachy but I really am a bit stuck with what it's for.

i know the principle that it's supposed to be for desplaying info without a specific word or whatever, but again alter is so good with info commands I really haven't needed to.

For example, the other day when I wanted to check if my cudgel had broke or not by looking at my equipment and not getting the full list, someone mentioned the "show weapon" command which was exactly the thing.

As I said, if people find the command useful fare enough, I'd just never even heard of it until i asked about quest display and really can't think when else it'd be needed that aren't covered by other commands such as as eqsorting for example.

Dark.
---
Gamers mailing list __ Gamers@audyssey.org
If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org.
You can make changes or update your subscription via the web, at
http://audyssey.org/mailman/listinfo/gamers_audyssey.org.
All messages are archived and can be searched and read at
http://www.mail-archive.com/gamers@audyssey.org.
If you have any questions or concerns regarding the management of the list,
please send E-mail to gamers-ow...@audyssey.org.


---
Gamers mailing list __ Gamers@audyssey.org
If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org.
You can make changes or update your subscription via the web, at
http://audyssey.org/mailman/listinfo/gamers_audyssey.org.
All messages are archived and can be searched and read at
http://www.mail-archive.com/gamers@audyssey.org.
If you have any questions or concerns regarding the management of the list,
please send E-mail to gamers-ow...@audyssey.org.

Reply via email to