Alan, I just throw an idea here(not tested yet but I think it has a chance to work)...
Create a dummy side defined condition. you will see "macro code" of this dummy condition. Now you have your spel
code ready(like in a txt file) and then you do pdm_extract to extract this dummy condition and output into a txt file. now
you edit this output file replacing the "macro code" by your manually written spel code. And then pdm_load it back so
to have your spel code "inserted" into this dummy condition and then you use this dummy condition as any other side
defined condition. The whole point is, you can insert your spel code and your spel code would run what ever you want
it to run, not limit to the configurable simple spel code. I like this idea(lol). Thanks _Chi