IIUC, you want to implement sort of a very low frequency oscilloscope - read analog pins regularly and transfer the values? If so, you should probably be using a custom sketch and do this kind of thing from inside the C++ code, probably using a timer and/or ADC interrupt - I'm afraid that ScoutScript timing is too unreliable for such precise timing.
As for transferring data to the lead - there is some code for sending data. The recommended way is to use the
command.scout function to run a command (a long with arguments - that's your data) on another scout.
I hope this helps?