Need help for scripts

I can’t find an example of scripts used for SGP, please help me, I would like to write some scripts for the closing of observations: example of scripts that I am looking to do:

  • park telescope azimuth 268.00 height 2.00
  • make a delay loop of a few minutes (3 minutes)
  • disconnect telescope
    -disconnect camera
  • disconnect filter wheel
  • disconnect focuser
  • disconnet a switch (there are 6 switches for power cut on equipment on an IPX800)

Thank you for your help, philippe