quote:
Originally posted by PsychoMark
It does raise another issue: infinite loops when the output contains a tag which calls the plugin again. I think a nice way to solve that is to flag a plugin once it's been used in a message, then allow all other tags to be parsed (including other plugins) but not the ones which have been flagged. This still allows a plugin to use another plugin's tag in it's output, yet neither the plugin nor the other plugin called can use the first anymore, preventing loops. Hope that explanation was clear, assuming you haven't built that in already as well
the loops are a problem. What about if pluging A uses a tag of plugin B and B one of A? If you mark plugings so they are called only once, some tags may not be parsed and if you allow plugings to be called several times then loops may appear.
That's a problem with no good solution...