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


Joined: 12 Aug 2004
Posts: 2

PostPosted: Thu Aug 12, 2004 6:40 am   

Who can teach me?
 
mud output message.a part in black color,other in white color.
how can i replace the black part with space?
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Fri Aug 13, 2004 4:53 pm   
 
#SUB {black} {space}
_________________
LightBulb
Senior member

Most scripts in this forum are written for Command Line entry.
Don't even open the Settings Editor unless its use is specified or obvious.
Reply with quote
kevin_gjr
Newbie


Joined: 12 Aug 2004
Posts: 2

PostPosted: Sat Aug 14, 2004 3:30 am   
 
"black part" means black color string

#SUB ('xxxxxx','black','')
just replace string'black' with ''. can'n replay the black color string,right?
how can i do to replay the black color string???
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Sat Aug 14, 2004 6:47 am   
 
Question
sorry,i couldn't first,i can't either.

You probably couldn't understand the line above. It means, "Sorry, but I couldn't understand your first post and I can't understand your second post either."

You leave out a lot of words, making it difficult to understand you. You also fail to use capital letters and don't leave spaces after punctation marks, which increases the difficulty. You probably don't bother to review what you've written or correct errors. If you expect to get help through written communication, it's important to use whole sentences, good grammar, good spelling, and (most importantly) clearly expressed thoughts.

At a guess, your MUD outputs messages which have one part in black text and another part in white text, and you want to replace the black text with spaces. Try a #SUBSTITUTE trigger using the ANSI option. ANSI triggers are always tricky, and replacing an indefinite string of characters with spaces will be also. Without specific examples, I won't even attempt a sample trigger.

For a simpler method, just set your background to black so the black text will have the same appearance as spaces.
_________________
LightBulb
Senior member

Most scripts in this forum are written for Command Line entry.
Don't even open the Settings Editor unless its use is specified or obvious.
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