Run the bot and stop it at the step before the one you want to change.
Run AutoIt Window Info, and use Finder Tool to get the coord you want to move to (those are your new X & Y coord).
Replace the x and y (in red) in the code below with the ones you just got.
Code:
RandClick("middle", Round(110 * $x_ratio), Round(1000 * $y_ratio), 1, 1) ;moves to doorway leading to rare inside cellar
Sleep(Random(2200, 2800))
Alternatively, if you want to keep using the ratio factor for x/y, find our what resolution you are using, then do the follow:
To calculate X = Your X from Finder Tool / (your X reso / 1920)
To calculate Y = Your Y from Finder Tool / (your Y reso / 1080)
Then replace the numbers in red with the calculated X and Y.
Code:
RandClick("middle", Round(110 * $x_ratio), Round(1000 * $y_ratio), 1, 1) ;moves to doorway leading to rare inside cellar
Sleep(Random(2200, 2800))