Skip to content

Instantly share code, notes, and snippets.

@joshk6656
Created June 3, 2020 16:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joshk6656/87b51dddab148c89f10e4384550e5bbd to your computer and use it in GitHub Desktop.
Save joshk6656/87b51dddab148c89f10e4384550e5bbd to your computer and use it in GitHub Desktop.
local mob_array = windower.ffxi.get_mob_array()
for str_index,mob_table in pairs(mob_array) do
if (mob_table.models[1] == 966 or mob_table.models[1] == 965) and mob_table.valid_target and mob_table.distance <= 75 and mob_table.name == 'Emblazoned Reliquary' then
windower.send_command('input /echo found box, clicking it')
autobox = true
click_NPC(mob_table.index)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment