Eg: !add Rome, "Saudi Arabia", Sweden black pistol, machine gun
When this line is processed, it would do the equivalent of
.hadd -m Items Rome $addtok($hget(Items,Rome),black pistol,44)
.hadd -m Items Saudi_Arabia $addtok($hget(Items,Saudi_Arabia),black pistol,44)
.hadd -m Items Sweden $addtok($hget(Items,Sweden),black pistol,44)
.hadd -m Items Rome $addtok($hget(Items,Rome),machine gun,44)
.hadd -m Items Saudi_Arabia $addtok($hget(Items,Saudi_Arabia),machine gun,44)
.hadd -m Items Sweden $addtok($hget(Items,Sweden),machine gun,44)
Where I'm having trouble is separating the different locations from each other and the items from, not only each other, but also the locations.
The locations will be a single name or will be enclosed in quotation marks.
I've tried various ideas using /tokenize and while the usage of 34 is close, it's still not correct, as I won't know in advance which (if any) of the locations will be in quotation marks, or even if there will be more than one location.
Minimum entry consists of a location and an item.