• 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

Question - Lua event help for griklor raid

Overtimer

Seasoned veteran member
I need to convert this to Lua. Can anyone smarter than me help?

/if (${Spawn[=${EventArg1}].ID}==${Me.ID})


I am trying to write Lua event for Griklor chase part.

Thanks.




This is the answer:

For this event, Griklor only names and does not target you.
Also, he only names you on one of the emotes.

When he points at you, that is the only time you can get a name from him. This gave me headaches because I thought my code was not working.

This is the code for my question above, for those learning Lua.

----------------------------------------------------------------------
Use name if you want to know what name he picked.

local function event_handler(line, name)
if name == mq.TLO.Me.CleanName() then
-----------------------------------------------------------------------
Use target if you want to know what target he picked.

local function event_handler(line, target)
if target == mq.TLO.Me.CleanTarget() then
----------------------------------------------------------------------
 
Last edited:
Updated the files, more lean lest clutter. Fixed some commands. Post# 37. This might be the final unless someone here finds something.

We beat Griklor last night, but very few players had my LEM events. I think it helped.

I saw weird behaviors with some other teams with my LEM. I would see two players run out, and they both did a say that they were chasing him.
Thought chase was on that group, but they both ran out, paused, and unpaused, no clue how that is possible. I cannot duplicate that with a group mission.

The whistle command did not work, I redid some of the code, not sure if I am getting the right format for pets commands for Lua.

The run to AE worked perfectly, but I think it is not needed. We burned through the AE and were not losing toons.

This was a fun experience for me, I learned a lot. Thank you all that helped, looking forward to more fun.
 
Last edited:
Question - Lua event help for griklor raid

Users who are viewing this thread

Back
Top
Cart