I personally think this is one of the simplest yet most useful scripts one can have during their Xenominer expeditions. For simplicity, I'm not going to go into symbols but rather I'm going to use the English version of what each symbol means. Each action will be separated by a comma. Also, I use a macro to make this much easier to choose how far you wish to go down. I typically like to go all the way down to the bedrock but each person has their preferences.
--------------------------------------------------
The Macro: Dig Down, Move Down, Dig Forward, Move Forward, Dig Up, Dig Down, Move Down, Dig Forward, Move Forward, Dig Up, Turn Left
--------------------------------------------------
The Script: Move Down, Macro, Macro, Macro, etc.
--------------------------------------------------
That's all there is to it! Good luck on finding all that precious ore!