Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ General ➜ Changing prompt line colors

Changing prompt line colors

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Lywellyn   USA  (15 posts)  Bio
Date Sun 13 Nov 2005 12:45 AM (UTC)
Message
I have the Prompt Newline installed and it correctly triggers on my prompt line for my MUD, which looks like this:

Lywellyn - (203/203 187/187 277/277 13025 3060/21810) visible

I have it set up this way to trigger:

* - (*/* */* */* * */*) *

That way, each value is set to it's own "variable" of sorts.

My question is this: How do I go about coloring the prompt line? I can't do it through the MUD as it takes the prompt line beyond the character limit they have, so I was hoping that MUSHClient would be able to color my prompt (at least, the values I've marked with *) for me.

Any assistance is appreciated!
Top

Posted by Nick Gammon   Australia  (23,132 posts)  Bio   Forum Administrator
Date Reply #1 on Sun 13 Nov 2005 01:08 AM (UTC)
Message
In your trigger you can omit the original line from output, and then call a script in your script file.

In the script do ColourTell for each wildcard (or thing) that you want coloured in a different way, followed by a Note to end the line. See:

http://www.gammon.com.au/scripts/doc.php?function=ColourTell

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Lywellyn   USA  (15 posts)  Bio
Date Reply #2 on Sun 13 Nov 2005 01:30 AM (UTC)
Message
Worked like a charm, thank you very much :D
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


12,388 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.