|
gabrielphoenix Newbie
Joined: 11 Nov 2006 Posts: 4
|
Posted: Sat Nov 11, 2006 12:20 pm
Status window |
For some reason I can not get anything to display in the status window... What have changed ?
Kind regards Gabriel |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Sat Nov 11, 2006 6:33 pm |
I'm not seeing any problem with this and nothing should have changed. But if you are going to report bugs, it's important that you mention what version of CMUD you are using (notice everyone else putting the version in [] in their subject line). Also provide more details about exactly what your status window script is set to.
|
|
|
|
Yamabushi Apprentice
Joined: 29 Jul 2003 Posts: 101 Location: USA
|
Posted: Sat Nov 11, 2006 8:52 pm |
Right now the status window works for me like this:
%ansi(high, red)Personal Information%ansi(white)%cr------------------------%cr Name: @UNAME %cr HP: @HP %cr HP: @EP %cr GOLD: %ansi(high, yellow)@GOLD%ansi(white)%cr
So in the end, i'll have a huge line of window options and variables. Can the below is understood the same as the line above?
%ansi(high, red)Personal Information%ansi(white)
------------------------
Name: @UNAME
HP: @HP
HP: @EP
GOLD: %ansi(high, yellow)@GOLD%ansi(white) |
|
_________________ Yama |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Sat Nov 11, 2006 10:02 pm |
I believe it can. There was an issue with %cr not working and interfering with the status window, but I think Zugg fixed that in the last version or two.
|
|
_________________ EDIT: I didn't like my old signature |
|
|
|
Yamabushi Apprentice
Joined: 29 Jul 2003 Posts: 101 Location: USA
|
Posted: Sat Nov 11, 2006 10:23 pm |
No, on 1.15 when you try the latter the entire script faults and won't change colors, or expand the variables.
|
|
_________________ Yama |
|
|
|
Tech GURU
Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: Mon Nov 13, 2006 8:49 am |
The problem here (and I'm not sure if it's a bug or not, but I'm inclined to say not is that there is no space on either side of the %cr so CMUD isn't processing it properly. In other words you need this "--- %cr " instead "---%cr ".
|
|
_________________ Asati di tempari! |
|
|
|
Morgal Beginner
Joined: 06 Nov 2006 Posts: 26
|
Posted: Mon Nov 13, 2006 9:28 am |
Ok i was playing with putting some things in the status window last night.
#STW {@mana}
Would work
#STW {Mana: @Mana}
Would work
Then whenever i added more text literals after a variable, i couldn't get any of the variables to expand.
e.g. #STW {Mana: @Mana Health:}
However having just tested this on my work PC, it appears to be working now. Ill try this again when i get home
Gareth / Morgal |
|
|
|
Tech GURU
Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: Mon Nov 13, 2006 9:33 am |
I just tried your bottom example "#STW {Mana: @Mana Health:}" at the command line and it worked jsut fine.
|
|
_________________ Asati di tempari! |
|
|
|
|
|