Can there be multiple User.? tags on the pick you are working with (or none at all)?
The delete[] and deletestr[] target references expect a tag template with just one group.tag in it, potentially with a wildcard to allow matching similarly named tags.
So if your tagids[User.?] ever returns a string with multiple tags or an empty string if there are no matching tags, using that string as the tag template for deletestr[] will result in the error you are seeing.
If the tag has no wildcards and doesn't match an existing tag, you will get a different "Tag [...] not defined" error message.
|