stupid x3 scripting language :-(

X3:Reunion
this is so arbitrary...

doesn't work:
$a = [THIS] -> is script "plugin.autotrade.galaxy" on stack of task= 0
$b = [THIS] -> is script "plugin.autotrade.local" on stack of task= 0
$c = [THIS] -> is script "plugin.autotrade.sector" on stack of task= 0

skip if not $debug
  write to player logbook: printf: fmt= "(%s) resetSignals: galaxy(%s) local(%s) sector(%s)" , [THIS] , $a , $b , $c , null

skip if not ( $a | $b | $c )
  continue


does work:
skip if not [THIS] -> is script "plugin.autotrade.galaxy" on stack of task= 0
continue
skip if not [THIS] -> is script "plugin.autotrade.local" on stack of task= 0
continue
skip if not [THIS] -> is script "plugin.autotrade.sector" on stack of task= 0
continue


weirdest damn thing...

| is a bitwise OR, you want

| is a bitwise OR, you want to be using OR instead.