Don't be sorry, this is what forums are for, to share information.
What you want to do is easy when you know how.
Here is an example.
There are 4 parts to what you need to do, the first is the creation of the file to be uploaded to the router, this must follow the correct syntax of any normal script which is run on the router, for example, this process will add a user into the usermanager database in ROS, then cleanup the script once it's been imported.
Part 1, create the script file in a text format and make the extension .rsc, for example newusers.rsc, add some stuff in there to tell you it worked as well
/tool user-manager user add username=freddy password=mypassword group=public location=freds_diner download-limit=0 upload-limit=0 uptime-limit=30m subscriber=mysubscriber add-credit=24hour
/tool e-mail send to="
my@email.domain" subject="User Import Completed" body="Freds Diner imported some new users into the system" file=newusers.rsc
:log info ("New Users Imported - " . [/sys cl get time] . " on " . [/sys cl get date])
Part 2, upload the script file
Just do an automated FTP upload or whatever you are going to do, make sure the script file goes in the root directory of the router, AutoIt is a handy little app for this stuff.
Part 3, have another script running as a scheduled job on the router which then runs your new script that you uploaded, obviously you always need to name your new script the same name to make this work. You will need 2 scripts, one is the scheduled script to trigger the import and cleanup, the second is the script that actually does the import, use something like this to do the import.
/import newhsusers (important, don't add file extension here, it's not needed, it already knows you are doing an import)
Use something like this as your trigger script which is run by the scheduler every X minutes depending on your needs, it needs to run the import script above plus the cleanup script in part 4.
/system script run import_users
:delay 10s
/system script run cleanup
Part 4, cleanup the script file you uploaded so that it doesn't run again by using something like this in a script.
/file remove newusers.rsc
I hope that helps, it took me ages to work it all out....
Be aware though, there are some commands and syntax that work on the command line of the router but not in a script, not sure why but I came across a few quirky commands like this.
Good Luck
Regards
Paul