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
➜ How does multiple plugins add to the status bar and/or with SetStatus
|
How does multiple plugins add to the status bar and/or with SetStatus
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Dakine
(22 posts) Bio
|
| Date
| Fri 24 Apr 2015 06:14 PM (UTC) |
| Message
| I've been unable to see how to append info to the status bar.
When I use SetStatus it overrides the information there or is overridden by another plugin such as the tick timer.
As far as I can tell more than one plugin adds to it as there is different info on the line. I tried searching through the existing plugins without success. I'm unsure how to append my info to existing information displayed in the status bar.
Searched settings and threads and I checked the following but couldn't see what I was looking for http://www.gammon.com.au/scripts/function.php
This is example syntax I use
SetStatus("Heals: " .. potVars.healnum .. " Manas: " .. potVars.mananum)
Dak | | Top |
|
| Posted by
| Fiendish
USA (2,558 posts) Bio
Global Moderator |
| Date
| Reply #1 on Fri 24 Apr 2015 08:24 PM (UTC) Amended on Fri 24 Apr 2015 08:36 PM (UTC) by Fiendish
|
| Message
| I suppose you could get the current status first and include that in what you set.
But without doing a bunch of text wrangling to guarantee that you preserve old data without risking duplication*, you should probably just not expect content stability from the status bar.
* - e.g. if your status is
Quote: STATUS!
and you want to add to that
Quote: potato!
and you think that you can just do what I say in my first line, well...the first time you'll get
Quote: STATUS! potato!
but then the next time you'll get
Quote: STATUS! potato! potato!
and so on. |
https://github.com/fiendish/aardwolfclientpackage | | Top |
|
| Posted by
| Dakine
(22 posts) Bio
|
| Date
| Reply #2 on Fri 24 Apr 2015 10:37 PM (UTC) |
| Message
| Hi Fiendish,
Yes, that wouldn't be very desirable and a lot of work where other neater methods exist, some of which I've already implemented.
Thanks
Dak | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #3 on Sat 25 Apr 2015 01:57 AM (UTC) |
| Message
| | There is an "info bar" which you could use. Also you might just make a small miniwindow to show statuses. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Dakine
(22 posts) Bio
|
| Date
| Reply #4 on Sat 25 Apr 2015 02:58 AM (UTC) |
| Message
| Those are good possibilities. Working on mini windows is my next step.
I'll give the info bar a go. | | 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.
20,682 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top