Precast:
Code
if type(windower.ffxi.get_player().autorun) == 'table' and spell.action_type == 'Magic' then windower.add_to_chat(3,'Currently auto-running - stopping to cast spell') windower.ffxi.run(false) windower.ffxi.follow() -- disabling Follow - turning back autorun automatically turns back on follow. autorun = 1 cast_delay(.4) -- manipulate based on lag. return end
AfterCast:
Code
if autorun == 1 then windower.ffxi.run() autorun = 0 end
And a quick preview of it's functionality:
YouTube Video Placeholder