• Hail, we're RedGuides. We want you to play six (yes, 6!) EverQuest characters at once. We have scripts and a friendly community to help, please join our playstyle and say hello! 👋
  • We've added LLM sections to our Terms & Rules and Resource Rules, for everyone's sanity & in-game safety.
    Read more
    a. Do not replace your voice with an LLM. This goes for your posts and your scripts. Drafting and editing with a tool is fine, but don't take you out of what you share.
    b. Do not replace your EQ character's voice with an LLM. We don't want scripts that speak over /ooc, /shout or other public channels. This has been an unwritten rule that's kept casino scripts off the site for decades, but we're now compelled to make it clear: keep automated communication private.

    Why Does RG Review Scripts?
    Nearly every LLM-written Lua script we see is making your character do impossible things, and rarely in a way that's beneficial to you. We've seen heavy server hammering, /target over impossible distances when /nav spawn would passively accomplish the same thing, a spawn search that fires 20+ times per second, and other pointless actions that are likely annoying GMs.

    You are welcome to use LLMs as a tool to structure, draft, and edit your work, but please read critically before hitting /lua run
Resource icon

Quest / Event Joust Script for 23rd Anniversary Raid: Karnor's Castle: Mad Emperor 1.2

Other Authors
Aquiteone, Sic
Server Type
🏢 Live Test
Code:
--[[
    command=
    /docommand ${If[${EventArg1.Equal[${Me}]} && !${Me.ActiveDisc.Name.Equal[Frenzied Resolve Discipline]},
        /multiline ; /docommand /${Me.Class.ShortName} mode 0; /mqp on; /twist off; /timed 5 /afollow off; /nav stop; /target clear; /timed 10 /nav locyxz -101 -773 11; /timed 150 /docommand /${Me.Class.ShortName} mode 2; /timed 150 /mqp off; /twist on,
    /docommand ${If[${EventArg1.Equal[${Me}]} && ${Me.ActiveDisc.Name.Equal[Frenzied Resolve Discipline]},
        /multiline ; /docommand  /say smash,
    /echo BAD]}]}
]]--

local mq = require("mq")

local my_name = mq.TLO.Me.CleanName()
local my_class = mq.TLO.Me.Class.ShortName()

local function event_in_progress()
    -- return true until a darkwood chest spawns
    return mq.TLO.SpawnCount('a darkwood chest')() == 0
end

local function event_handler(line, target)
print(target)
print(my_name)
    local active_disc = mq.TLO.Me.ActiveDisc.Name()
    if target == my_name then
        if activeDisc == 'Frenzied Resolve Discipline' then
            mq.cmd('/stopdisc')
        end
        mq.cmdf('/%s mode 0', my_class)
        mq.cmd('/mqp on')
        mq.cmd('/stopdisc')
        mq.cmd('/melee off')
        mq.cmd('/twist off')
        mq.cmd('/afollow off')
        mq.cmd('/nav stop')
        mq.cmd('/target clear')
        mq.cmd('/nav locyxz -101 -773 11')
        mq.delay(15000)
        mq.cmdf('/%s mode 2', my_class)
        mq.cmd('/mqp off')
        mq.cmd('/twist on')

    end
end

mq.event('event_points', '#*#Venril Sathir focuses his Intent on #1#', event_handler)

if not mq.TLO.Zone.ShortName() == 'karnor_raid' then return end
if not event_in_progress() then return end
print('event script started...')

while true
do
    if not event_in_progress() then break end
    mq.doevents()
    mq.delay(10)
end

print('event script ended')

Jousts character out to VS's room to avoid mezing the raid works for Mule/Kiss/CTWN for sure might work with other suites. If not using CTWN plugins you'll have you pull the macro-based characters back to party/raid
Author
Atheos32
Watchers
33
First release
Last update

Ratings

0.00 star(s) 0 ratings

Share this resource

Latest updates

  1. Fixed Logic v2 hehe

    Fixed Logic v2
  2. Fixed Logic

    With the help of Aquitone and Sic we've fixed a logic error and optimized the overall code...
Back
Top
Cart