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 ➜ Tips and tricks ➜ Determining the healing need of members in my group.

Determining the healing need of members in my group.

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


Pages: 1  2 

Posted by ErockMahan   (81 posts)  Bio
Date Reply #15 on Tue 25 Oct 2005 02:49 PM (UTC)
Message
As near as I can tell, everything works great now. Thank you very much with your help so far.

The last problem I'm having is that this command doesn't work:

world.InfoColour "red"

I created an alias that would do it, so I know it has nothing to do with the code.

I also tried:

world.InfoColour "#FF0000"

but it didn't work either. This is the exact format for programming in VB, so I don't know what could be wrong. Is it possible this is a bug? Or do I need to turn something on? I don't know how likely the latter problem is, seeing as how I can change the background color without a problem.
Top

Posted by Flannel   USA  (1,230 posts)  Bio
Date Reply #16 on Tue 25 Oct 2005 06:32 PM (UTC)
Message
Changing the foreground color only changes the color on things you write afterwards.
So, are you writing anything to the infobar after you've changed the color?

~Flannel

Messiah of Rose
Eternity's Trials.

Clones are people two.
Top

Posted by ErockMahan   (81 posts)  Bio
Date Reply #17 on Thu 27 Oct 2005 03:30 AM (UTC)
Message
I am. I see no change at all, though.
Top

Posted by Nick Gammon   Australia  (23,159 posts)  Bio   Forum Administrator
Date Reply #18 on Thu 27 Oct 2005 04:39 AM (UTC)
Message
If I try this:


InfoColour "red"
Info "hello world"


It works as expected.

- Nick Gammon

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

Posted by ErockMahan   (81 posts)  Bio
Date Reply #19 on Thu 27 Oct 2005 12:49 PM (UTC)
Message
Ah, I found the problem. After I would set the text color, I would do this:

world.InfoClear
world.Info "MOST HP=" & Cstr (world.getvariable ("damaged"))

The InfoClear would reset the text color.

Thanks for your help, everyone!
Top

Posted by Nick Gammon   Australia  (23,159 posts)  Bio   Forum Administrator
Date Reply #20 on Fri 28 Oct 2005 06:00 AM (UTC)
Message
Ah yes, very good. You don't need to do Cstr by the way, MUSHclient variables are always strings.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
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.


69,726 views.

This is page 2, subject is 2 pages long:  [Previous page]  1  2 

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.