Scripting from The Dude Server.

Hi Forum,

How do i create scripts on the dude server and execute them on all my Mikrotik Routers?
I would also like how to schedule them.