You can use the /ct examples command to get some commented scripts in your scripts/examples directory

More script examples can be found here:

Examples

These are the scripts that have been used to test CraftTweaker in 1.14, they should all work and load just fine, you can use them to get familiarized with the new syntax