• 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

Auto join grp macro

Joman

New member
any chance u guys can do a quick mac that will accept an invite from a group? i also would like it to dispand the group if group members are the wrong ones.

the idea is to leave my rog at a spot and my friend is going to run his bard and PL his toons, because were on diffrent time zoens im just gunna park my rog there and let him run all his toons but i want him to be able to invite me.

my worry is if some one invites my rog and its not my friend shes gunanbe stuck there... not saying a word..
 
I would say just use the combat plugin for the accepting an invite, but it won't differentiate who's inviting. Maybe use the mq2slave plugin and set your friend as a master. Then he can invite you and give you the command to /accept ?
 
Ok here it is there is some error in the code that gives and error message but it still runs fine. If you care to find the error be my guest but thise works fine.

/mac Autojoin "Allowed to invite to grps name" "Secret word to get you to accept invitation" "Secret word to get you to disband"

example--- /mac Autojoin Superwar Jointhegrp Dropgrp

This would make it so you only listen to a character named Superwar and to get you to join a grp he just has to say Joingrp in tells and when he wants you to drop he says Dropgrp in group or in tells and you will disband.

Also can easily chop this up and throw it in any macro you already have should work just as easily long as the chat type is set up like I have it.


WARNING:: This code is not recognizing the chatsender as a valid compare so it is failing that but still will be able to set up the secret words so the only way you will accept an invite will be if someone uses the secret words on you.

If you can tell me how to fix the code I will re-edit and post this in main forum but this will hopefully do this guy's job well enough for what he asked.
Rich (BB code):
|        Everdead's Join Grp macro                |
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 


#chat group 
#chat tell 

Sub Main 

/declare AllowedInvite string outer ${Param0}
/declare SecretWord string outer ${Param1}
/declare SecretDisband string outer ${Param2}

| ############### 
| ############### Main Loop Starts 
| ############### 

:Main_Loop 

|- Check for new events in chat etc etc... 
/doevents 

/goto :Main_Loop 
/return 

| ############### 
| ############### Main Loop Ends 
| ############### 


Sub Event_Chat(string ChatType,string ChatSender,string ChatText) 

/if (!${ChatType.Equal[GROUP]} && !${ChatType.Equal[TELL]}) /return

/if (${ChatText.Equal[${SecretWord}]}) && (${ChatSender}==${AllowedInvite}) { 
/invite
}
/if (${ChatText.Equal[${SecretDisband}]}) && (${ChatSender}==${AllowedInvite}) { 
/disband
}
/return

Couldn't Parse '&& (${ChatSender}==${AllowedInvite}) {
Thats the error code I get from trying to run it when it gets a tell so not sure whats going on why it can not decide if a string for the person who sent a tell is same as the string for the person who is allowed.
 
Last edited:
Whats about :

/declare Master[3] string outer
/varset Master[1] Asterix
/varset Master[2] Obelix
/varset Master[3] Idefix

Sub Event_Chat(ChatType,SendMe,ChatText)
/for z 1 to 3
/if (${Master[${z}].Equal["${SendMe}"]}) {
/echo ${SendMe} is my "Master", accepting comands !
/goto :YourComands
}
/next z
/return

its only a snippet not a working .mac ;)
 
I hope those are not real names.
Not tested btw.
Rich (BB code):
|accept the invite on person
|                          Change this
|                           \/
#event invite "PersonYouGetInivteFrom invites you to join#*#"  

sub main
:loop
/doevents 
/dealy 5s
/goto :loop

 sub event_invite  
 /invite  
/end
 
Auto join grp macro

Users who are viewing this thread

Back
Top
Cart