Code: Select all
//Garg Tool Filler
// Fills Toolhouse with garg tools.
// 03/29/2018
//Made by Stephen
//Hit play can loop if want. setup for 10 of each to add per scan
//You can add or remove some from pushlist if u want if you want.
@removelist 'FillMeGargoyle'
if not listexists 'FillMeGargoyle'
createlist 'FillMeGargoyle'
pushlist 'FillMeGargoyle' 0xe86
pushlist 'FillMeGargoyle' 0xe86
pushlist 'FillMeGargoyle' 0xe86
pushlist 'FillMeGargoyle' 0xe86
pushlist 'FillMeGargoyle' 0xe86
pushlist 'FillMeGargoyle' 0xe86
pushlist 'FillMeGargoyle' 0xe86
pushlist 'FillMeGargoyle' 0xe86
pushlist 'FillMeGargoyle' 0xe86
pushlist 'FillMeGargoyle' 0xe86
pushlist 'FillMeGargoyle' 0xf45
pushlist 'FillMeGargoyle' 0xf45
pushlist 'FillMeGargoyle' 0xf45
pushlist 'FillMeGargoyle' 0xf45
pushlist 'FillMeGargoyle' 0xf45
pushlist 'FillMeGargoyle' 0xf45
pushlist 'FillMeGargoyle' 0xf45
pushlist 'FillMeGargoyle' 0xf45
pushlist 'FillMeGargoyle' 0xf45
pushlist 'FillMeGargoyle' 0xf45
pushlist 'FillMeGargoyle' 0x13f6
pushlist 'FillMeGargoyle' 0x13f6
pushlist 'FillMeGargoyle' 0x13f6
pushlist 'FillMeGargoyle' 0x13f6
pushlist 'FillMeGargoyle' 0x13f6
pushlist 'FillMeGargoyle' 0x13f6
pushlist 'FillMeGargoyle' 0x13f6
pushlist 'FillMeGargoyle' 0x13f6
pushlist 'FillMeGargoyle' 0x13f6
pushlist 'FillMeGargoyle' 0x13f6
endif
if not @findtype! '0x22c4' '69'
sysmsg '*****No Tool House*****' '69'
stop
elseif @findtype! '0x22c4' '69'
@usetype! '0x22c4' '69'
waitforgump 1513449091 15000
replygump 0x5a356683 60026
waitforgump 1513449091 15000
endif
for 0 to 'FillMeGargoyle'
if @findtype! 'FillMeGargoyle[]' '2419'
target! 'found'
waitforgump 1513449091 15000
endif
endfor
if not @findtype! 'FillMeGargoyle[]' '2419'
sysmsg '*****No Garg Tools*****' '69'
canceltarget
replygump 0x5a356683 0
stop
endif