all I did was copy the script from the Master demo it came with and pasted it into my game.
That is a mistake a lot of people do.
You need to configure most scripts if you want them to work with your game - a simple copy and paste fails in most cases, only very small scripts can be used without configuration.
Even before you copy a script, you need to read through its instructions (usually at the beginning of the script) to learn what else you have to do.
In a lot of cases, you'll need to place notetags in your database so that the script will know what data to use.
In some cases, you'll need to configure and reserve switches and variables for the script to use - keeping them at default often causes random bugs to appear.
In other cases, you need to change the data section of the script to write in your own data - which can cause errors if you don't know what to rewrite in the script.
In this specific case, you'll probably need to both add notetags and change the script (the section screenshot in the link you've given us) to program in the chains you want to be there.