Npc Menus

Language: JP EN DE FR
2010-09-08
New Items
users online
Forum » Windower » Support » npc menus
npc menus
Offline
Posts: 634
By zaxtiss 2015-06-16 08:04:54
Link | Quote | Reply
 
hey i was wondering if there was way to use lua to shortcut thro the menus of coalions quests kinda like this sparks one here


Code:
require 'pack'
require 'lists'

windower.register_event('outgoing chunk',function(id,org)
if id == 0x5B then
local name = (windower.ffxi.get_mob_by_id(org:unpack('I',5)) or {}).name
if L{'Eternal Flame','Rolandienne','Isakoth','Fhelm Jobeizat'}:contains(name) then
local outstr = org:sub(1,8)
local choice = org:unpack('I',9)
if choice == 0 or choice == 0x40000000 then
return outstr..string.char(9,0,0x29,0)..org:sub(13) -- Archeron Shield
end
end
end
end)


found this online wonder if there was something like this for coalations
Log in to post.