I'm pretty lazy at times, especially when it comes to monotonous repetition. I'm trying to find the optimum memory frequency for a radeon 5870 at certain core speeds, but it's an AWFUL lot of trial and error, and it isn't really instant to test each combination, plus is can be kind of cumbersome. Sooo.. Hoping maybe someone can help me out. I don't really know what to set for a price, because I'm not sure how complicated this will be.

Basically, it's kind of like a step 1 > step 2 > step 3 > if this then do this, else do that > step 1. I am using Windows 7 x64 Ultimate, and really quite noobish when it comes to coding.. I don't know any languages except a little bit of LUA (and I do mean little).

I want to open my phoenix.exe miner, and after 40 seconds, start recording the hashrate underlined in red here.For the next 20 times it changes (or every 2 seconds for the next 40 seconds, whichever is easier), record the hashrate again. After 20 changes (or 40 seconds, depending on whatever you picked), it would find the average of all these values and save it somewhere, and close phoenix.exe.After 15 seconds, it would need to increase the memory speed by 1 MHz, UNLESS the memory speed is at 210, then instead increase core speed by 5 and reduce memory speed to 140, as well as probably start a new line in wherever this automation is saving the results (Don't care if you use your own proprietary method, or use glakkeclock, or cgminer, or whatever, as long as it WORKS). After this step, wait 5 seconds. Then it would go to back to opening phoenix.exe and repeating the whole process again until core speed is 1025, then it would stop.

Of course, all these numbers could possibly be changed to variables, depending if it would be easier for you (or maybe me if I try to use this on other devices)

well, a simple modification to the phoenix source(aka log speed to %ddmm-hhmmss%.log, shutdown after 60 sec, only keep last value) and a simple windows batch file would have done the trick - in case you still need that done, pm me