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
zoltyn
Newbie


Joined: 19 Nov 2002
Posts: 5
Location: Sweden

PostPosted: Tue Nov 19, 2002 4:20 pm   

Ok basic things (I hope)
 
Ok I have two major problems right now:

1) The MUD I play has different chat channels, such as one for OOC, one for IC, one for the Clan, and tells.
I've made a separate window for each of these, so that it won't spam the main window. So far so good. I can even get zMUD to remember where the windows should be when I restart it. But what I can't figure out is how to make zMUD NOT give each of the four extra windows their own command line and status line each time it's restarted?Most annoying to remove them each time..

Second thing is I am having some problems with strings. If I load a string (Take for example "OOC - Nradg: Hey I'm speaking OOC" and I make a trigger on it to send it to the other window.
Now the problem is that I want the name Nradg, in one color, and the text in another. If the trigger is on "OOC - (*)" and I use %1, %1 is all the text that follows, how do I tell zMUD that I'm interested in the name only, as one parameter in one color, and everything else (%2 and on) in another one?

Also, is there a way that I can make such a string taken from one window to another keep it's original ANSI colors from the mud??

Thanks
Pierre Nyström from Sweden
Reply with quote
zoltyn
Newbie


Joined: 19 Nov 2002
Posts: 5
Location: Sweden

PostPosted: Tue Nov 19, 2002 6:22 pm   
 
Oh, one more thing I need to do but don't know how:

I want a gagger making sure I can never see more than one blank like at a time - So that when a blank line is sent it checks the line before that - If that line was a blank too, I want one gagged..
Reply with quote
Darker
GURU


Joined: 24 Sep 2000
Posts: 1237
Location: USA

PostPosted: Tue Nov 19, 2002 7:37 pm   
 
To save the window options (status bar & command line) I think you need to #save (windowname) in each window after turning those options off. For instance, turn them off, switch to the window that has them, and type :(windowname):#save (windowname)
(Insert your own window names in that command)

For coloring that text, you want to use the %w pattern to match a single word instead of * which will match nearly anything. Look up the patterns in the help files to give your mind lots of things to consider. You'll also want to use #CW (ColorWord) to color that text in the other window. #Color colors the whole line.

Not sure about preserving the ansi coloring from the mud... Never tried it. It's *probably* possible. Someone wanna help on that?

For the blank line gagger I think what you want is a trigger on the pattern $$$ (3 line endings). You'll have to play with it.

Reading the helpfiles would greatly move you forward.



zMUD 6 Online Help: All the power you'll ever need.
Reply with quote
xenothought
Beginner


Joined: 16 Sep 2002
Posts: 11
Location: USA

PostPosted: Tue Nov 19, 2002 8:03 pm   
 
if you do a straight #cap window linetocapture I think its how it is, it will capture the text AS IS to the window you choose..I use it on Astro, I capture all gossip, clan speak, newbie, private channel, tells etc and send them there..they all stay in the normal color.

hello there.
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