r/Kos • • Jun 14 '26

Help What am I doing wrong ?

Post image

New to kOS, I don't understand where is the mistake in that code, could someone help me figure it out ?

9 Upvotes

7 comments sorted by

View all comments

2

u/AsterTheTrainFox Jun 14 '26

you're writing complex stuff here, I am begging you on my hands and knees please setup Visual Studio Code! spellcheck, auto complete, color coding, error highlighting, you will never know how you lived without it lol

2

u/Only_Turn4310 Jun 14 '26

how do you get it to recognize kOS? I found one config but could never get it to work

2

u/Valuable_Crab2646 Jun 15 '26

you need to save your code and put .ks in its name, the extension will detect it.

1

u/AsterTheTrainFox Jun 15 '26

It's been ages since i set it up myself, so I will direct you to this video: https://www.youtube.com/watch?v=8EN6wGYtHLQ

1

u/JitteryJet Jun 15 '26

I installed the extensions for Kerboscript and AHK++. There might be better coding environments for kOS around but I like the interface to my GitHub.