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 ➜ Plugins ➜ StatLine - Share StatusLine with other Plugins and Main Script.

StatLine - Share StatusLine with other Plugins and Main Script.

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


Posted by Magnum   Canada  (580 posts)  Bio
Date Mon 21 Oct 2002 08:25 AM (UTC)
Message
This plugin is soley intended for usage in conjunction with other plugins, and/or the main script. By itself, it serves no purpose.

Essentially, what it does is store a variable for each string you would like to present on the Status Line. The name of the variable is referred to as the "IDString". The value stored within the variable is referred to as the "StatLineString".

The variable list is sorted, and then the values are pulled and assembled to present the 'total' string, which is then sent to the status line.

From the plugin help:

---------------------------------------------------------------------------------------------------
This plugin allows several other plugins to share the Status Line.
---------------------------------------------------------------------------------------------------

The syntax to use from the client plugin (if using VBS) is:

World.CallPlugin "5c582b1da52fd6a9d5d912a8", "AddString", "IDString" & Chr(10) & "StatLineString"

	- An existing IDString of the same name will be replaced with the new value.

World.CallPlugin "5c582b1da52fd6a9d5d912a8", "DelString", "IDString"

	- Deletes the value identified by the IDString (and the IDString itself).

World.CallPlugin "5c582b1da52fd6a9d5d912a8", "Update", "AnyString"

	- Note, Adding or Deleting a string will cause an update of the status line anyway.
	- You must pass an argument, but it will be discarded. Required due to program structure.

---------------------------------------------------------------------------------------------------

The IDString's are sorted before displaying, so you can name them accordingly, should you want your
assorted strings presented in a particular order.

IDString Examples:  01_InPartyStatus, 02_Health, 03_SpellQ, 04_SQBusy, 05_CombatStatus

Each string will be seperated from the others by "  |  ", not including the quotes, of course.

Example:

|  InParty: No  |  HP: 80%  CP: 90%  |  SQ: On  |  Busy: Y  | Combat! |

---------------------------------------------------------------------------------------------------

Download from my website: http://www.MagnumsWorld.com/MUDs/

Get my plugins here: http://www.magnumsworld.com/muds/

Constantly proving I don't know what I am doing...
Magnum.
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.


8,463 views.

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.