..or even a health-gain from healing display/calculator?
Using v4.79, Lua language, and the trigger used is:
*h, *m, *e, *w
I'm pretty new to scripting so I don't even know how to open the "box" where you enter scripting commands. Is it the Immediate box?
Back to the subject, I first tried setting a trigger where everytime my health and mana pops out each prompt, the client recalls the previous health value set as a variable and then deducts the current health display, prints the difference in value, and then resets the current health as the previous health for the next prompt.
But I end up printing the entire command, instead of the values. This is what I see, or something like:
(GetVariable "healthlast")-(GetVariable "healthnow")
Also, how do I make it print onto the side of the current health/mana display, instead of having it print on a new line? This way there won't need to be 2 lines (very spammy) everytime I receive damage/healing.
Or should I forget about this printing thing, and consider another method? Which method? Anyone?
Thanks in advance, new to MUSHClient too.
Using v4.79, Lua language, and the trigger used is:
*h, *m, *e, *w
I'm pretty new to scripting so I don't even know how to open the "box" where you enter scripting commands. Is it the Immediate box?
Back to the subject, I first tried setting a trigger where everytime my health and mana pops out each prompt, the client recalls the previous health value set as a variable and then deducts the current health display, prints the difference in value, and then resets the current health as the previous health for the next prompt.
But I end up printing the entire command, instead of the values. This is what I see, or something like:
(GetVariable "healthlast")-(GetVariable "healthnow")
Also, how do I make it print onto the side of the current health/mana display, instead of having it print on a new line? This way there won't need to be 2 lines (very spammy) everytime I receive damage/healing.
Or should I forget about this printing thing, and consider another method? Which method? Anyone?
Thanks in advance, new to MUSHClient too.