i've got a startupprogram that should work, but i don't get it working.
the error is a nil value error (think evereybody know wat it is) but i don't have any clue's any more.
my startupprogram search to a file called startupprogram.txt,
if it finds it, it shows the programname and after a few seconds it runs it.
at least it should run it.
it says that he can't index a nil value.
but i don't see any value that doesn't exist.
this is my startupprogram.
Spoiler
and this is my startupprogram.txt
it's not mutch, i know.
Spoiler
the file startupprogram.txt is in the lua\rom\apis map.
and it is really not about my program chestdispencer.
and when i print whattodo just before shell.run(whattodo), it prints chestdispencer.
does anyone have a clue?












