|
0700123123 Newbie
Joined: 25 Dec 2002 Posts: 2
|
Posted: Wed Dec 25, 2002 12:46 am
helpish on #scroll |
When you use scroll to hunt some word, it picks the first line in the buffer with the word, but i need it to pick the last line with the word received from the mud. Can anyone help me please?
|
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Wed Dec 25, 2002 1:13 am |
Once something is in the scrollback buffer, zMUD has no way to tell where it originated. The only way to do what you want is to limit the scrollback buffer to text received from the MUD. This can be done by turning off "Echo Commands", "Echo messages", and "Echo scripts" in your Preferences.
LightBulb
Senior Member |
|
|
|
0700123123 Newbie
Joined: 25 Dec 2002 Posts: 2
|
Posted: Thu Dec 26, 2002 7:19 pm |
I was unclear. I will try to give you some examples.
#scroll hippy 40 (only five lines match in the buffer)
Mage in hippy clothes.
Mage in purple and hippy clothes.
Hippy person.
Monkey doing hippy dance.
Hippy hat.
Now if I write #scroll hippy 1, I get "Mage in hippy clothes." What should I write to get "Hippy hat."?(and only that line, nothing else) |
|
|
|
Emit Magician
Joined: 24 Feb 2001 Posts: 342 Location: USA
|
Posted: Thu Dec 26, 2002 7:48 pm |
did you try
#scroll {Hippy hat.}
i think thats what your looking for |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Thu Dec 26, 2002 8:07 pm |
It would appear that you can't. I'd recommend sending Zugg a bugreport on this, and finding some other way to achieve whatever you're trying to do.
LightBulb
Senior Member |
|
|
|
Castaway GURU
Joined: 10 Oct 2000 Posts: 793 Location: Swindon, England
|
Posted: Fri Dec 27, 2002 2:12 pm |
You could suggest that Zugg implements a %scroll() function which does the same but returns a stringlist.. In the meantime, you can try running the #SCROLL command in an alias, to list all items, starting a trigger while its running which captures all the lines produced, gags them, and only shows the last one received.
Lady C. |
|
|
|
|
|