IsSimStart
This TP scriptOp outputs True on and only on the first sample of a simulation.
Or you can create a simple blackbox with a Bool set to True connected to an EggTimer set to 0 frames.
Nice example for how to make a simple TP scriptOp.
download m3d_IsSimStart