Post
by denzien » Wed Aug 25, 2004 3:46 pm
In my old version of a forage macro, I paused .5 sec after foraging and from time to time the lag would cause me to pass the .5s mark without showing the foraged item, so 1s is pretty safe, and for an afk macro, it should be no big deal anyway.
As far as checking it see if there is anything on the cursor...if you're going to /autoinventory the item *anyway*, I don't see what the point of checking is; There are only 2 conditions: true and false. When true, /autoinventory. When false, don't autoinventory. If sending the command /autoinventory with nothing on the cursor, nothing bad happens, so why bother to use an extra step?
I like the 1s pause you have after calling the forage subroutine, that should be plenty and it prevents running the loop too many times, just in case. My old macro actually paused for 1m41s because that is the time I found it takes forage to refresh (actually 1minute 40seconds). In this way I had no need for an extra subroutine.