numeric variable tracking
numeric variable tracking
Ok, I have no idea how this would even work so I'm asking. I want to use this for tracking simply how much gold I acquire in a constant fashion, able to bring up my total just by an alias command. However I would also think I could extend it to various other sorts of variables as well. I.E. How many sips in a container, shard weight totals, etc. At least a starting point would be much appreciated
Re: numeric variable tracking
You'll want an alias to turn the tracking on/off, one to reset it, and one to display the totals.
The one to turn it on/off could be
pattern:^gtrack(?: )?(on|off)$
script:
pattern: ^greset$
script:
and the one to display it could be
pattern: ^gdisp$
script:
All that would remain, then, is to setup trigger to catch how much gold you pick up/earn and have it add the amount to goldvariable . (which I suggest you rename across the board to something else, I used it as a standing)
The one to turn it on/off could be
pattern:^gtrack(?: )?(on|off)$
script:
the one to reset it might be
pattern: ^greset$
script:
and the one to display it could be
pattern: ^gdisp$
script:
All that would remain, then, is to setup trigger to catch how much gold you pick up/earn and have it add the amount to goldvariable . (which I suggest you rename across the board to something else, I used it as a standing)
Re: numeric variable tracking
hrm, maybe this isn't worth the effort. I'm pretty bad at scripting, especially with Mudlet, doing the change from Nexus. Thank for your help, maybe when I have more patience I'll try figuring out how to make a trigger to help track it.