Not sure what ya mean. For these scripts use the "story editor" in the editor. Can do this in an add-on project or in a standalone adventure project.

https://docs.larian.game/Story_editor

E.g. open the story editor, go to the "Start" category on the left, click "Add sub item", type a name for your goal, then you can put your scripts in the KB section (mostly). Then File > "Generate Definitions, Build and Reload".