looks like a logic error
looks like its going to open inventory and checkpan() wither the skill loaded or not and thats also when it decides to change weapon slots to another sieve with TAB too which could be put before using the skill.
adam you might be able to fix it temporarily by just making $load=1
link you could move $load=0 into checkpan() "if $pan=1 then $load=0 else $load=1" but that would still mean it opens inventory every loop so guess the main problem is the logic with the skill being loaded or not.
Code:
While ($load=0 AND $counter<50)
$loaded = _ImageSearch("loaded2.BMP",1,$x1,$y1,60)
if $loaded=1 Then
$counter = $counter + 1
SLeep(1000)
Else
if $multipan=1 Then
CheckPan();if there was an error loading the skill, it's probably a dead pan, this will switch it out if so.
[b]$load=0[/b]
ContinueLoop
Else
Exit
ExitLoop
EndIf
Endif
WEnd
adam you might be able to fix it temporarily by just making $load=1
link you could move $load=0 into checkpan() "if $pan=1 then $load=0 else $load=1" but that would still mean it opens inventory every loop so guess the main problem is the logic with the skill being loaded or not.