Perhaps this scripted solution will help you:
Code:
on *:start:{
  .ddeserver off
  if $isdde($ddename) { exit }
  else { .ddeserver on }
}