• 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

paladin macro

Ghostyrus

New member
just a simple paladin macro


Rich (BB code):
sub main

/declare HomeXLoc		  int	outer ${Me.X}
/declare HomeYLoc		  int	outer ${Me.Y}
/declare Distoftarget             int   outer 100
/declare radius                   int   outer 100
/declare closeenoughtoattack      int   outer 40



:loop
/keypress esc
/delay 1
/target npc radius ${radius} 
/if (${Target.ID} && ${Target.Distance} <= ${Distoftarget} && ${Target.LineOfSight}) {
/goto :pull
}
/goto :loop
/return

:pull
/delay 1s
/cast "Lesson of Penitence"
/delay 2s
/cast "Sacred Force"
/delay 2s
/cast "Call of Honor"
/delay 1s
/if (${Target.Distance} <= ${closeenoughtoattack}) {
/goto :kill
}
/goto :loop
/return


:kill
/stick 12
/attack on
/doability bash
/if (${Target.ID} && ${Target.Type.Equal[NPC]}) {
/goto :kill
}
/clean
/stick off
/call ReturnHome
/goto :loop
/return



Sub ReturnHome
:returnhome
/keypress jump
  /if (${Me.State.Equal[SIT]}) /stand
  /face fast nolook loc ${HomeYLoc},${HomeXLoc}
  /if (${Math.Distance[${HomeYLoc},${HomeXLoc}]}>2) /nomodkey /keypress forward hold
  /if (${Math.Distance[${HomeYLoc},${HomeXLoc}]}<=5) {
	/nomodkey /keypress back
/return
  }
 
Last edited:
I am not trying to be rude here but did you write both this and the warrior code?

both are distinctly different...one uses /goto loops and the other uses sub routines



is /keypress jump a command? (remember I have been away for a while) 8-)

Lastly this could be a pally / SK macro if you made the spells variables that the user could change.

OR they could go down to the cast area and change it there also, since the macro is not very big.



your missing a /goto :returnhome in your return home sub
 
well ok ..

here is my tip for you ....

goto loops should not be your primary means of movement in a macro. I am not saying there are not times they need to be used.... but thats all you have here is goto loops

they cause the macro to become bulky, unmanageable and slow.

take your other macro and make a modified version for a paladan / SK and you will be much better off.

that is just my opinion....
 
paladin macro

Users who are viewing this thread

Back
Top
Cart