• 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

need

See this kitten?
Dead_Kitten01.png


He's DEAD, cause YOU posted in the wrong forums.

Post all questions in the help, questions, and requests forum.

As for your question try this uber uber macro I just wrote:

Code:
Sub Main
:SuperDooperPooperLooper
/if (${Target.ID} && ${Target.Type.Equal[npc]}) {
      /echo I'm SUPER RANGER!
      /attack on
} Else {
      /attack off
}
/goto :SuperDooperPooperLooper
/return

oh and /kick thread to the proper forum
 
Untested try this:

Make sure you have your Main assist targeted when you start the macro

Wrote this with the idea that I don't want to /target /assist /target /assist once every second (sends commands to the server, spamming it isn't exactly smart)

Also no checks are added into this macro like zoning etc.

Code:
Sub Main
|=================================================
|===== CheckRadius: this checks for mobs within a certain radius of your MainTank
/declare CheckRadius int outer 40
|=================================================


|=================================================
|=================================================
|
| Don't screw with anything below here
|
|=================================================
|=================================================


/if (!{Target.ID} || ${Target.Type.NotEqual[pc]}) /call NONONO
/declare MainAssist int outer ${Target.ID}
/squelch /target clear
:MainLoop
/if (${Target.ID}!=${MainAssist} && ${Target.ID}) /squelch /target Clear
	/if (${Spawn[loc ${Spawn[${MainAssist].X} ${Spawn[${MainAssist].Y}} npc radius ${CheckRadius}].ID}) {
		/assist ${Spawn[${MainAssist}].CleanName}
		/if (${Target.Type.Equal[npc]}) /call ATTACK
}
/delay 2s
/goto :MainLoop
/return

Sub ATTACK
:waitloop
/delay 1
/if (${Target.PctHPs}>95) /goto :waitloop
/echo SUPER RANJA ATTACK!!!!
:attackloop
/attack on
/if (${Target.Distance}>15) /keypress up hold
/if (${Target.Distance}<15) /keypress up
/face fast
/delay 2
/if (${Target.ID} && ${Target.Type.Equal[npc]}) /goto :attackloop
/return

Sub NONONO
/echo Target the motherfucking main assist before starting this macro.
/endmac
/return
 
Last edited:
need

Users who are viewing this thread

Back
Top
Cart