There should be an in-game repository for Lua scripts that can be uploaded to the website. Maybe even an in-game editor, if that's not asking too much. There could be an interface similar to the uploaded simulation browser (except just a list view instead of thumbnails) where people could select scripts and then try them out. If there are any functions that could possibly do harm to your computer, such as file I/O, there could be a warning if any of these functions are used, so you can view the source code to make sure it's okay before you run the script.
This was previously suggested and much interest was shown. We do, however, need the cooperation of Simon, and an implementation of sockets for Powder Toy. Whether that be the luasockets library or something else.