Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
0700123123
Newbie


Joined: 25 Dec 2002
Posts: 2

PostPosted: 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?
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: 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
Reply with quote
0700123123
Newbie


Joined: 25 Dec 2002
Posts: 2

PostPosted: 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)
Reply with quote
Emit
Magician


Joined: 24 Feb 2001
Posts: 342
Location: USA

PostPosted: Thu Dec 26, 2002 7:48 pm   
 
did you try
#scroll {Hippy hat.}
i think thats what your looking for
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: 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
Reply with quote
Castaway
GURU


Joined: 10 Oct 2000
Posts: 793
Location: Swindon, England

PostPosted: 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.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net