Code:
;Designs
If $StashDesigns = 1 And $StashLoot > 0 Then
sleep(Random(79, 87))
;Designs
While $StashDesigns = 1
Sleep(Random(58, 151))
If _ImageSearchArea($pngLoc & "designs.png", 1, 1400 * $x_ratio, 580 * $y_ratio, 1914 * $x_ratio, 888 * $y_ratio, $gX, $gY, 140) Then
GUICtrlSetData($lblStatus, "Status: Stashing Designs")
MouseClick("right", $gX, $gY, 1, 4)
Sleep(Random(81, 92))
Else
ExitLoop
EndIf
If CheckFullStash() = 0 Then ExitLoop
WEnd
Any specific reason why this throws me an error when i try to run the script with it? Added $StashDesigns = 1 and $StashDesigns at all places where it should be, as far as i can understand it at least.. and yea, not that stashing designs is really necessary, not like they drop all the time or anything. Just wanted to try and put it in there ^^