Intended for counting today's pill use for Muffin Milkers.
Prim is modify for size and colours. Script is no mod. Will work in any object not already using hover text for the link the script is put in.
A quick and dirty solution using hover text for the counter and add on text (no shocks, titles etc). And chat messages to log for backup, for when scripts data is not saved on crashes (remember "Preferences:Save nearby chat transcript" to save chat log to disk, chat messages can be turned off).
How to use:
By default it attaches to your nose to be worn over head. But you can attach it anywhere, also as a HUD.
To add 1 pill: Click it.
To get menu: Point, hold mouse and wait for menu to pop up (time depends on script lag where you are, usually 2 seconds).
Menu:
Text Color: Set the texts colour, uses LSL format, which is RGB in floats 0.0 to 1.0 instead of 0-255, and inside a set of <>, fx <1.0, 0.0, 0.0> will be red. You can get the LSL of a colour of an object in the Build Window, when changing colour click Copy LSL.
Top Text: Changes the text above the pill count, you can enter new lines in the text by hitting Enter while editing text in the text box that pop ups.
Bottom Text: Changes the text below the pill count.
Hide Text: (or Show Text), hides (or shows) the text.
Chat Off: (or Chat On), disables the messages to local chat, these are done for the cases where you crash, and the worn script might not be saved, then you can find the latest count in your chat log - assuming you are saving those.
Reset: Resets the counter to 0 for the next day.
-1 Pill: Subtracts 1 pill, meant for mistake clicks.
Close: Closes the menu.
The sphere is mod so can be adjusted as wish, or replaced, the script just need to be in the root / link that is touched and it should work in any object.
(Copy but no transfer version, of the one given to Cell Block Dairy and Herd All About It members).
- A counter.
- Customizable text in 2 parts.
- Can be worn as attachment.
- Can be worn as HUD.
- Works as titler.
