I don't understand why exactly this isn't working...
#class {puppetry handling}
var puppets
#alias {pupcap} {#var pupcapture 1;ii puppets}
#alias {gpup} {#forall %db( @puppets,%1) {g %i from pack12345}}
#alias {ppup} {#forall %db (@puppets,%1) {put %i in pack12345}}
#alias {pallp} {#forall %db(@puppets) {put %i in pack12345}}
#regex {^(\s+)Puppet(\d+)(\s+)A (?:living |nearly perfect |well-made |)vodun doll (?

f|roughly resembling) (\w+)$} {#if (@pupcapture=1) {#addk {%4=%2}}}
#regex {^Type MORE to continue reading\.} {#if pupcapture=1) {more}}
#regex {^You are wearing\:$} {#var pupcapture 0}
#class 0