Undefeated
Well-known member
- Joined
- Jul 27, 2020
- RedCents
- 169¢
Hey guys I took aquietone Lua and changed the location and the saying. Want to ask if that is correct so far? If it is then I will put in my own location. Also for how long is the toon going to stay at that location and will he return on his own or I would need to call him over. Please feel free to give me as much feedback as possible. Thanks
#*#The Demonstrated Depletion begins to glow slightly, drawing a little energy from every living thing in the cave#*#
#*#The Demonstrated Depletion begins to glow slightly, drawing a little energy from every living thing in the cave#*#
Code:
local mq = require('mq')
local function event_handler(line, target)
if not mq.TLO.Zone.ShortName() == 'deepshadetwo_raid' then return end
local my_class = mq.TLO.Me.Class.ShortName()
local i_am_ma = mq.TLO.Group.Member(0).MainAssist()
local my_name = mq.TLO.Me.CleanName()
local ma_name = mq.TLO.Group.MainAssist.CleanName()
if not i_am_ma and (target == my_name or target == ma_name) then
if my_class == 'BER' and mq.TLO.Me.ActiveDisc.Name() == mq.TLO.Spell('Frenzied Resolve Discipline').RankName() then
mq.cmd('/stopdisc')
end
mq.cmdf('/%s mode 0', my_class)
mq.cmd('/mqp on')
mq.cmd('/twist off')
mq.cmd('/timed 5 /afollow off')
mq.cmd('/nav stop')
mq.cmd('/target clear')
mq.delay(100)
mq.cmd('/nav locxyz 1222.67 -48.97 236.41')
mq.delay(15000)
mq.cmdf('/%s mode 2', my_class)
mq.cmd('/mqp off')
mq.cmd('/twist on')
end
end
return {eventfunc=event_handler}


