Once the niter deposit appears, it triggers a message in the journal. I'm thinking there is some way to monitor that message and if the message shows up, then the script looks for the deposit item types and mine it?
kubism,
I'm not sure how new you are at scripting. i have only been doing it for about 3 months and i was able to add in my own, fairly unreliable, niter mining sub. i added it in on spewy's recall miner. it seemed to be the easiest for me to understand. much of what is in there i do not yet understand. i have a tougher time following along in my head with the always-changing %variables.
this one line will put the niter in the #find areas:
finditem WGH_VGH_RGH_QGH_BHH G_2
from there on out you can target accordingly.
i have had my variation of the miner script run all day. i personally had a tougher time getting my script to leave my cheesy sub loop.
good luck fellow newbie scripter kubism