
Originally Posted by
NynJa
Create file called coffer.fxt in scripts folder
Input /item "velkk coffer" <me>;
Wait 2
(Above may need tweaking but you get the point)
Alias coff exec coffer.txt
Alias coff5 coff;coff;coff;coff;coff
Alias coff20 coff5;coff5;coff5;coff5
49 coffers in inventory?
//coff20;coff5;coff;coff;coff;coff
Go take a shit.
I see your script, and raise you a gearswap self command to do much the same. cept it stops when you run out of inv space or coffers.
Code:
if command == 'coffer' then
cycle = 0
invCount = windower.ffxi.get_bag_info(0).count
if invCount == 80 then
add_to_chat(140,'Inv. full. Ending cycle')
elseif player.inventory["Velkk Coffer"] then
send_command('input /item "Velkk Coffer" <me> ')
cycle = 1
else
add_to_chat(140,'No Coffers found in inv.')
send_command('findall Velkk Coffer')
end
if cycle == 1 then
send_command('wait 2;gs c coffer')
end
end