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
TerrellKl
Novice


Joined: 30 Aug 2005
Posts: 49

PostPosted: Fri Nov 04, 2005 2:49 am   

Anchoring and Linking
 
I have a log in a seperate window.. the trigger kinda works like this
#trigger {(%w says, 'booga')} {#window chat (%1)}

Soo.. in teh window I get
Hotdog says, 'booga'

But in the mud, where he actually said it could be 3 pages up,
Is there a way to anchor The point in the buffer where he said booga, and when you click on the new windows 'Hotdog says, 'booga'' it will take you to the anchor?
Reply with quote
Vitae
Enchanter


Joined: 17 Jun 2005
Posts: 673
Location: New York

PostPosted: Fri Nov 04, 2005 1:36 pm   
 
?...if i understand ya, you want to click on the 2nd window and make the 1st one scroll up?
far as I know, nope.
Just have to do a "find" for that.
_________________
http://www.Aardwolf.com
Reply with quote
OmegaDeus
Apprentice


Joined: 14 Sep 2005
Posts: 121

PostPosted: Sat Nov 05, 2005 6:10 am   
 
it's probably possible to be done using bookmarking or the likes, but i wouldn't even know where to start with something like that.
_________________


Look at me I've got zSKILLS
Reply with quote
Vitae
Enchanter


Joined: 17 Jun 2005
Posts: 673
Location: New York

PostPosted: Sun Nov 06, 2005 5:21 am   
 
Bookmarking...wtf?...
Are u talking about zmud? or a web browser?


one way now that I think about it...
MAYBE, set the info in the second window with #menu Edit/Find or something..and with an #mxp as part of a send or something...
danged if i know.
Got a few beers in me, and some tequila, and a lot of halloween candy :-)
_________________
http://www.Aardwolf.com
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Mon Nov 07, 2005 12:49 am   
 
There's no way to manipulate the text in the scrollback buffer and thus no way to set bookmarks. However, you should be able to move the scrollback buffer to the line in question using the #SCROLL command. Something along the lines of:

#trigger {(%w says "booga")} {#MXP <send ':window:#SCROLL %1'>%1</send>}

Totally untested and I have no experience with #SCROLL.
_________________
EDIT: I didn't like my old signature
Reply with quote
Vitae
Enchanter


Joined: 17 Jun 2005
Posts: 673
Location: New York

PostPosted: Mon Nov 07, 2005 2:18 pm   
 
oh snap...never new about the #scroll command..

#scroll vitae

What be thy name, adventurer? Vitae
CLAN: Vitae has entered the game.
Settings saved to Vitae.mud
myrank Vitae
Rankings for Vitae
note write Vitae
From: Vitae
(Friend) Aurelet: 'VITAE!'
ft *peer vitae
Settings saved to Vitae.mud

Tho actually, this way didnt quite work for me. It spammed the hell outta me with an infinite loop.

A suggestion would be to turn off triggers along with the #mxp otherwise the booga screen will get filled with repeats
_________________
http://www.Aardwolf.com
Reply with quote
Slaem
Apprentice


Joined: 20 Sep 2005
Posts: 135

PostPosted: Tue Nov 08, 2005 7:34 am   
 
#SCROLL pattern

returns ALL items in the buffer matching the pattern. Looks like you'll need to preference it such as

#SCROLL pattern 1 1

That should show the last item matching the pattern. (untested)

Thanks to Matt for once again providing great info!
_________________
Show your love.
Support Zugg Software!
Donate to zugg@zuggsoft.com with PayPal Send Money.
Reply with quote
Vitae
Enchanter


Joined: 17 Jun 2005
Posts: 673
Location: New York

PostPosted: Tue Nov 08, 2005 3:55 pm   
 
<3 Matt ;-)
_________________
http://www.Aardwolf.com
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