Conditions plugin does exactly this, but it is somewhat buggy.
If you can find someone who could do some coding for this, I can help, but as of now, I do not have the time to rewrite this plugin (rewrite is the only feasible option taken the current state of the code)
Mikko
Post edited by: mikko, at: 2007/05/02 18:47