Anyone good at lua script for proxmark3 [SOLVED]

I need to serialize a bunch of blank T5577 chips in a way that isn’t mind numbing… basically issue the command

lf em e410 clone --uid 01020300405

but in a way I can serialize the UID from a particular starting point… something like

script run custom_t5577_series --start 0000000001

where I can either press the button on the board to write the next one;

  • put tag on LF coil
  • issue command
  • script waits for button press
  • place next tag on LF coil
  • press button
  • script increments UID and writes
  • script waits for button press
  • etc.

Or, if acting on button presses is not possible via script, perhaps a serialization file where it contains a starting number like 0102030405 and i issue the script command

script run custom_t5577_series --file emStart

and then it writes the UID and increments the number in the file and exits… then I can simply replace the tag, hit the up arrow and enter to run it again… just something that will remove the tedium of having to backspace and update the UID manually every time I run the command. I know it’s only a few keystrokes more, but its mind numbing hahah