|
Ralph1971 Wanderer
Joined: 01 Mar 2008 Posts: 64
|
Posted: Tue Feb 17, 2009 7:49 am
prompt colors |
I play Realms of Despair, and I made an alias..
mprompt prompt <%h/%Hhp %m/%Mm %v/%Vmv %ggp %a %A %S %f %wwt %G (%n - %c)>{%L}
the actual mprompt alias is entered in as
mprompt prompt <&Y%h/%Hhp &C%m/%Mm &g%v/%Vmv &Y%ggp &w%a %A %S [&C%wwt&w] &c%G&w (%n - &r%c&w)>{%L}
now the problem is, there's no colors in the prompt.. even when I manually input the prompt the way I want to.. somewhere, it's stripping the color codes. I can manually put in the right code in another window, and it's good to go.
I've deleted teh char settings, made a new character file.. still same issue...
any thoughts or suggestions?
EDIT - seems I had a box checked labeled Expand Vars.. unchecked, and it works right |
|
|
|
Stowslee Wanderer
Joined: 20 Apr 2008 Posts: 69 Location: Watervliet, NY
|
Posted: Fri Feb 20, 2009 3:57 pm |
Take a look and experiment with #PCOL I use it a lot in certain aspects when I want to color certain aspects of my screen. May not be the best way to go about it but it works for me.
|
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Fri Feb 20, 2009 4:46 pm |
It might be that you're using the wrong character for your colours - you seem to be using both & and %, which is unusual. But yeah, both & and % are special characters in scripts - try changing your alias to prompt "<%h/%Hhp %m/%Mm %v/%Vmv %ggp %a %A %S %f %wwt %G (%n - %c)>{%L}" or even #send "prompt <%h/%Hhp %m/%Mm %v/%Vmv %ggp %a %A %S %f %wwt %G (%n - %c)>{%L}" and see if that works any better for you.
|
|
|
|
Ralph1971 Wanderer
Joined: 01 Mar 2008 Posts: 64
|
Posted: Fri Feb 20, 2009 8:02 pm |
thanks for the replies, folks..
it seems that another script I got (one for damaged eq) had me turn on some of the check boxes in the settings in the main mud window, and it caused the issues with the prompt.
Fang, the &'s are a color control code for the individual mud prompt, and the %'s are for the numbers.. h-hp, m-mana, etc. I don't know if it's common with other muds, but the one I play on, it does. Anyway, I played with the settings and got it fixed. When I want to adjust the prompt (ususally don't), I just have to uncheck the boxes, make the change, then re-check the boxes. |
|
_________________ Win7-home - Cmud 3.33a
WinXP-pro - Zmud 7.21 |
|
|
|
|
|