• 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 - A way to obtain the sender of a message picked up by Event?

I would like to know who generated/sent a message. For instance if I have a request for a coth, I want to control whether I will fulfill it or not based on the sender. If I flag that I am not fulfilling coths for other players, I still want to be able to do it myself using the same sub. I'm scratching my head.
i.e. /cothme
I would like to know who sent it so I don't have to use /cothme uberguy
 
if its in a macro, youd be using
#1# to capture the word in that place

For example:

Kaen01 tells you, 'please coth me'

#Event cothme "#1# tells you, '#2#"

now ind your event sub you can define itlike this

INI:
Sub event_cothme(line,sender,text)
    /echo sender is : ${sender}, he sent ${text}
/return
 
That's true, via a /tell, thank you. If I am handling a message sent as a broadcast, I want to be able to find out who sent that messsage. I know there is a special Event_Chat which you can have watch certain channels, but I'm hoping that there is a "easy" way so that I don't have do a bunch more work / redo :P
 
its the same idea as a channel message, or eqbc message, all you gotta do is set up your event trigger to match closely the base text so the senders name is captured.
 
Question - A way to obtain the sender of a message picked up by Event?

Users who are viewing this thread

Back
Top
Cart