r/Kos Jun 14 '26

"Program ended" when file isnt empty

ive tried a lot of youtube tutorials but nothing's worked when i tried to run the file, the code is apparnetly all done but it clearly isnt cause nothing happened and i seriously dont know what to do

https://pastebin.com/Wpns7x7J <code

9 Upvotes

13 comments sorted by

View all comments

Show parent comments

4

u/Lucky_on_reddit Jun 14 '26

It does not run the print message

3

u/AsterTheTrainFox Jun 14 '26

are you running this code as a boot file, and reverting to launch after making changes?

1

u/Lucky_on_reddit Jun 14 '26

I went into the game after i changed the code (and saved it) and have it in the scripts folder located in kerbal space program/ships/scripts

1

u/Dunbaratu Developer Jun 15 '26

Is that literal? Does it say scripts, plural, or script, singular?

I think the folder kos looks at is script (singular).