ddl

Untitled

ddl
Jul 19th, 2011
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 0.61 KB | None | 0 0
  1. ; ident all items from start row to end row (0..8) using ident kit at row/col (0..4)
  2. Func SalvageItems($StartRow, $EndRow, $IdentCol, $IdentRow)
  3.     if $EndRow > $invMaxR Then
  4.         $end = $invMaxR
  5.     Else
  6.         $end = $EndRow     
  7.     EndIf
  8.     For $row = $StartRow To $end
  9.         For $col = 0 To $invMaxC
  10.             For $count = 0 To 250
  11.                 MouseSend("left", "dclick", $invPos[$IdentCol][$IdentRow][0], $invPos[$IdentCol][$IdentRow][1]); Salvage Kit
  12.                 RndSleep(250)
  13.                 MouseSend("left", "click", $invPos[$col][$row][0], $invPos[$col][$row][1]); Ding das wiederverwertet werden soll
  14.                 RndSleep(250)  
  15.             Next           
  16.         Next
  17.     Next
  18. EndFunc
Advertisement
Add Comment
Please, Sign In to add comment