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
➜ Status Bar
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Madrox
(40 posts) Bio
|
| Date
| Sat 08 Oct 2011 02:21 PM (UTC) |
| Message
| | I want to put multiple information from different triggers on the status bar, is this possible? | | Top |
|
| Posted by
| Fiendish
USA (2,558 posts) Bio
Global Moderator |
| Date
| Reply #1 on Sun 09 Oct 2011 12:17 AM (UTC) |
| Message
| | Yes, but only if they cooperate. You can get the current information from the status bar and then manipulate it with newly gathered information and re-display. This requires some degree of friendly behavior between your triggers. |
https://github.com/fiendish/aardwolfclientpackage | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #2 on Sun 09 Oct 2011 02:35 AM (UTC) |
| Message
| | What you could do is have each trigger save its information into a global variable. Then they all call a shared script function (eg. in the script file) which redraws the status line, using all the known variables (eg. HP, mana, current target etc.). |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Madrox
(40 posts) Bio
|
| Date
| Reply #3 on Mon 10 Oct 2011 05:11 AM (UTC) |
| Message
| | Ah, didn't even consider that! Thank you. | | 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.
17,403 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top