XSpice Code Model Example

Thank you for replies. Have done it with subcircuits, have issues not finding lcouple and core models in latest kicad v8.

Anyway, can kicad v8 use external ngspice engine, as I also need to use my modified xspice core model to support mode=3 ?