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
Ralph1971
Wanderer


Joined: 01 Mar 2008
Posts: 64

PostPosted: 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
Reply with quote
Stowslee
Wanderer


Joined: 20 Apr 2008
Posts: 69
Location: Watervliet, NY

PostPosted: 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.
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: 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.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Ralph1971
Wanderer


Joined: 01 Mar 2008
Posts: 64

PostPosted: 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
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