Kolbot Syntax Error

I keep getting the same errors for line 10. It either says that I haven’t named the function, or I’m missing a parenthesis.


This is what line 10 looks like:
function LoadConfig:(Sorceress.dx_shock.js, true); {

Lose the colon. Probably the semicolon too.

What’s that sword your sorceress is holding?

I got rid of the colon and semi colon, then it said that I was missing parenthesis, so I added them, now it says that I’m missing formal parameters.


function LoadConfig((Sorceress.dx_shock.js), (true)) {
The sword is a spirit.

Did you check https://github.com/blizzhackers/kolbot/blob/master/d2bs/kolbot/libs/config/Builds/README.txt#L66-L102 ?