Right i made some terrain with the program, then i exported it as PGM (ASCII).
After i put that in the add-on .zip and then went on blockland.
i did parsePGM("add-ons/script_pgmparser/thing.pgm");
and in the folder i see a pgm file with random numbers on it, and blockland crashes.