it could be imported as events applied to bricks, events in the event saver, a save file, or other formats
or the script could just affect the bricks it needs to
either way you'd need an external program to generate the data into a text file or something, once you have that part it'd be easier to figure out how you want to get it into the game itself