|
kevin_gjr Newbie
Joined: 12 Aug 2004 Posts: 2
|
Posted: 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? |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: 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. |
|
|
|
kevin_gjr Newbie
Joined: 12 Aug 2004 Posts: 2
|
Posted: 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??? |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Sat Aug 14, 2004 6:47 am |
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. |
|
|
|
|
|