State(,) function

I don’t know about that. However, do you think a state machine function is still required in Qspice? Wouldn’t DLL-devices (C++ or Verilog) be able to handle logic you need?