I have just planted a heap of chilli seeds in a pot in my small garden. I want to use these chillies to make some sort of concoction to train the cats to stay away from my garden. I know that the active ingredient in chillies is capsasin. That is the chemical that causes all the burning. It is also the active ingredient in pepper spray. I had heard that someone on this site used a diluted spray of capsasin to train cats.
So does anyone know how I would make some sort of spray or oil that I could apply to surfaces so that it sticks to the cats when they get too close?

I want to make it clear that I don't want to hurt or kill any cats. I just want them to learn to stay away from my garden and that my pot plants are not stepping stones to jump over the wall.