Thanks Angrycoder. I have (almost) all of the sleep timers working great on my virtual machine.
two problems now:
1) is it supposed to Call (checkrepair) everytime my character is in New Tristram? I got my gear to yellow durability to test it but it never repairs (until it mLoot=0). If it ONLY calls for CheckRepair when it's time to manageloot, how do I make it so that it will checkrepair everytime my character is in New Tristram (so that it will check if gear is yellow at the end of every run after TPing). I tried adding a Call (CheckRepair) line here
Code:
If CheckFor("NewTristram", 1560*$x_ratio, 0*$y_ratio, 1920*$x_ratio, 40*$y_ratio, 5) Then
GoldPerHour()
UpdateTooltip()
RandSleep(30, 60, 10)
Call ("CheckRepair")
so that it should check repair right after opening up inventory to update GPH everytime I'm in New Tristram, but it does not repair. How do I make this happen?
2) there is like a 5 second sleep time after I TP to town before it leaves game -- the code in the script shows random sleep times of nowhere near that much time. How do I fix this so that it will immediately (or after a much more short time) leave game after TPing to New Tristram? I removed the RandSleep line and it still does it