Tagger Script: Loop through existing tags


In a tagger script how could I loop through available tags checking for it’s contents? When tags are not standard.
The $in() function is what I want to create a series of checks and delete the ones that matches.

so the code would look something like:

  ,$counttags()$noop(return the n# of tags in the file))

Also is there a way to have case-insensitive $in()? not important.

Thanks in advance.