Scripting can be easy or complex. If you want to get acquainted with scripting, i was a guest presenter for a live class with Corel a couple of years ago, on the topic of scripts. You can view the recording here: https://youtu.be/IOT2k2wlCG8
It is basic, and explains how one can record some basic scripts for future use. However, if you want something that goes beyond the recording of steps, there is one class available (not free though) here:
And finally, if you really want to dive into coding scripts, there is a paid course (not from me) and it is the same course i took when i started scripting, 7 or 8 years ago: http://scrapbookcampus.com/paintshop-pro-scripting-course/
Hope this helps to start.