Nice since someone gave you the code, I'm assuming that you have not included the osbot jar file into your eclipse, which you must compile with to be able to run the script.
Make sure you have the scriot manifest on before compiling the acriot. If you don't then it won't show up in the list of scriots