1531
Questing / Re: ScriptUO Heartwood Quester 1.29 with Advanced CLAw support
« on: July 03, 2013, 03:44:24 PM »
Which shard is the gate block. U can always recall before u start ur run.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
sub gatherLeather
set %itemtype YFM ; Corpse
; loop:
finditem %itemtype G_2
if #findkind = -1
{
return hunt
}
finditem KFR_HFR C_ , #backpackid
if #findkind = 1
set #lobjectid HFR
set #lobjectid #findID
event macro 17
wait 10
finditem %itemtype G_2
set #ltargetid #findid
set #ltargetkind 1
event macro 22
ignoreitem #findid
wait 1s
If #weight > %recallweight
{
display go unload
pause
}
return
sub TM_DragCheck
set %type #LLIFTEDTYPE
set %findid #LLIFTEDID
set %findstack #findstack ; add this to locate stack.
gosub TM_AddToList IgnoreList #RESULT %type %findstack ; add %findstack
gosub TM_AddToList KeepList #RESULT %type %findstack ; add %findstack
gosub DragAll %type %last_cont %dest_cont All ; add All
sub DragAll
set !item %1
set !source %2
set !dest %3
Set !ItemCount %4 ; ************ Add this to drag all *************
finditem !item C_ , !source
set !drag_cnt 0
set !ignore_cnt 0
; --------------------------------------------- Add this to drag all
G_Drag:
Set !DragTimeout #sCnt + 5
Wait 5
If !ItemCount = ALL
Exevent Drag #findid #findstack
Wait 5
If #sCnt > !DragTimeout
goto G_Drag
; -----------------------------------------------
if #FINDCNT > 0