• 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

Request - Add zone a check to the moveto command

Just wondering if there was a way to make the /moveto command only work if they are in the same zone. It's my fault, but i've had a few times where one of my bots was just chiling waiting for us to setup camp. I hit /moveto and they ran off into the middle of the zone. Since they weren't in the same zone they went to some random place. Thanks!
 
Would just be easier if you tested if the spawn is in the zone. you have to using either /moveto id or /moveto loc, but if you added /if (${Spawn[PC CharacterToMoveToName].ID}) before the /moveto command this would do the same thing.

/if (${Spawn[PC BadAzzTank].ID}) /moveto id ${Spawn[PC BadAzzTank].ID}
 
cool, thanks!

- - - Updated - - -

I did some testing on this and the IF portion doesn't seem to be needed.


/moveto id ${Me.ID}

doesn't work across zones.

I was using a /moveto loc ${Me.Y} ${Me.X}

I tried
/if (${Spawn[PC BadAzzTank].ID}) /moveto loc ${Me.Y} ${Me.X}
but
it always comes back true and they move.

I don't need to use loc in this case so I'll just switch it to /moveto ID.

Thanks.
 
Are you using this in EQBC? Seems like you might be. If that is the case, the toon sending the command conducts the if statement, not the toon receiving the bc. Still, it should work the previously mentioned way because the data is parsed by the one sending the information.

IE: Toon sending command says /bct toonname //if (${Spawn[TankNameHere].ID}) /moveto loc ${Me.Y} ${Me.X} ${Me.Z}

then the toon sending the command parses the data. Assuming they aren't in the zone it should send the following through eqbc. Execute command ~ /if (NULL) /moveto 10 15 20
whereas if the tank was in the zone /if (1234) /moveto 10 15 20

Alternately your hotkey could be setup to do /if (${Spawn[TankNameHere].ID}) /bct tankname //moveto ${Me.Y} ${Me.X} ${Me.Y}

Either way you do it however it will parse the information on the toon sending the command.
 
Last edited:
if you want it parsed on the character receiving the message try /bcg //if ($\{Spawn[TankNameHere].ID}) /moveto loc ${Me.Y} ${Me.X} ${Me.Z}

This will send your Y, X, Z but the $\{Spawn[TankNameHere].ID} will be parsed at the receiving end.
 
Request - Add zone a check to the moveto command

Users who are viewing this thread

Back
Top
Cart