Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Func SALVAGE($bagIndex)
- $bag = GetBag($bagIndex)
- For $i = 1 To DllStructGetData($bag, 'slots')
- $aitem = GetItemBySlot($bagIndex, $i)
- If DllStructGetData($aitem, 'ID') = 0 Then ContinueLoop
- For $k = 1 to DllStructGetData($aitem, 'Quantity')
- StartSalvage($aItem)
- Sleep(1000)
- SalvageMaterials()
- Sleep(Random(2000, 2500))
- Next
- Next
- EndFunc ;==>IDENT
Add Comment
Please, Sign In to add comment