1
Combat/Healing/Looting / Re: Holmedog's GUMP Attacker
« on: September 27, 2013, 06:26:01 AM »
Thanks Holmedog, great job on the script! Rate it 10 for works as advertized & 10 for ease of use!
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.
repeat
findItem UVF_GWF_EWF_FWF C_ , #backpackID
if #findcnt > 0
{
exevent Drag #findid
wait 10
exevent Dropg #charposx #charposy #charposz
wait 10
}
until #findcnt < 1
halt
repeat
findItem UVF_GWF_EWF C_ , #backpackID
if #findcnt > 0
{
exevent Drag #findid
wait 10
exevent Dropg #charposx #charposy #charposz
wait 10
}
until #findcnt < 1
halt
;=====enchanted apple sub======
findItem CBS C_ , #backpackId
if #findcnt > 0
set #lobjectID %enchantedApple
event macro 17
return
===============================
;==========enchanted apple sub=====
findItem CBS C_ , #backpackId
if #FINDCNT > 0
{
click #findx #findy d
}
return
;==================================
; Hands in the bucklers
sub TR_Hand_in
set %TR_temp_weight #weight
repeat
set #lobjectID %TR_Donation_NPC
event macro 17 0
gosub TR_waitfor_generic_gump
set #contPosX 0
set #contPosY 0
wait 10
click 39 268 dmc
wait 10
msg %TR_no_bucklers $
wait 10
until #weight < %TR_temp_weight
set %TR_Status_bucklers ( %TR_Status_bucklers + %TR_no_bucklers )
set %TR_no_bucklers 0
gosub TR_update_status
return
;==================================
; Wait for hand-in gump
sub TR_waitfor_generic_gump
set %TR_time #scnt
repeat
if You_create_ in #sysmsg
{
break
}
if #scnt > ( %TR_time + 10 )
{
break
}
wait 0
until #contname = generic_gump
wait 5
msg %TR_no_bucklers $
wait 10
until #weight < %TR_temp_weight