I'm looking to create a fairly simple input macro:
Code: Select all
[h:status=input(
"ArmorBar|None, Leather Clothing, Leather Armor, Gambeson, Chainmail, Hide Armor, Scale Armor, Brigandine, Plate Armor, Social Police Armor|Armor Type|LIST|SELECT=0 VALUE=ArmorBar"
)]
[h:abort(status)]
[H: setBar("ArmorBar", ArmorBar / 10)]
That works perfectly. However, I'd like to make one simple tweak to it, where instead of SELECT=0, I'd like SELECT to equal whatever ArmorBar's current value is. I'm just not sure how to do that. ArmorBar is a number value, so I would have thought there'd be a fairly simple way to do this, but I can't figure it out.