In your FPSC's Docs folder is the answer you seek.
Seriously, look there for the Manual and the Community Guide.
The guide has tons of FPI script examples.
The code snippets in the forum contain the code for such scripts.
To use them you would click it to expand it, then copy its contents, then paste it into something like Notepad, then save it as a text file with an .fpi extension.
You would need to save it in your scriptbank folder (FPS Creator\Files\scriptbank)
Then you would assign them as a script for an entity, or triggerzone, etc.
Read the manual and the community guide for more details and further instructions.
Welcome