• 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

Player Detection that works

Borys212

New member
Guys,

I am having a lot of trouble with the near player detection. I think I put everything together the way it's supposed to be, but I keep tripping it with my alts, even though I set them up with alerts. Can anyone tell me what's wrong with this?

This macro made for www.Redguides.com
|Don't steal it or we'll punch your fase!
#turbo
#event camp "personingroup tells the group, 'lets roll'
#event dzadd "personyouwanttoadd tells you, 'add me'
#event invite "#*#invites you to join#*#"
#Event Zoned "#*#You have entered#*#"


Sub Main

/alert add 2 player1
/alert add 2 player2
/alert add 2 player3
/alert add 2 player4

:loopstart
/doevents
/call GMcheck
/call playercheck
/if (${Target.Level}>67) /tar npc next
/if (${Target.Distance}>220) /keypress esc
/if (${Target.ID}==FALSE) /tar NPC radius 220
/delay 10
/goto :loopstart
/return

Sub GMcheck
/if (${Spawn[gm].ID}) {
/echo Gm detected
/beep
/beep
/beep
/keypress 9
/endmac
/unload
/q
}
/return

Sub playercheck
/if (${Spawn[pc noalert 2 radius 300].ID}) {
/echo player nearby
/log player nearby
/warp succor
/circle off
/twist off
/keypress up
/zone potranquility
/unload
/end
}
/return


Sub event_camp
/sit
/camp desk
/return

sub event_zoned
/delay 5s
/sit
/camp desk
/endmac
/return

sub event_dzadd
/dzadd personyouwanttoadd
/return

sub event_invite
/invite
/return
 
Last edited:
Player Detection that works

Users who are viewing this thread

Back
Top
Cart