• 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

Question - TLO question . . trying to return ${Corpse.Item[${x)].Name}

Please excuse me if this is not the proper place to ask this.. but i have a MQ questions I am having difficulty finding via documentation.
I can return back data to compare against in an IF statement on item after looting when on cursor via ${Cursor.Name}... like seeing if its a Diamond Coin ... ${Cursor.Name.Equal[Diamond Coin]}.. but I am trying to return back the name of an item ON the corpse BEFORE looting... but i am not retuning back data when using ${Corpse.Item[${x}].Name.Equal[Diamond Coin]} in the macro ( x being used in the FOR loop ).

Am I attempting to return the item name from the corpse improperly ??????
I need to be able to return back the name of the item on corpse before looting in order to determine my action.
 
Please excuse me if this is not the proper place to ask this.. but i have a MQ questions I am having difficulty finding via documentation.
I can return back data to compare against in an IF statement on item after looting when on cursor via ${Cursor.Name}... like seeing if its a Diamond Coin ... ${Cursor.Name.Equal[Diamond Coin]}.. but I am trying to return back the name of an item ON the corpse BEFORE looting... but i am not retuning back data when using ${Corpse.Item[${x}].Name.Equal[Diamond Coin]} in the macro ( x being used in the FOR loop ).

Am I attempting to return the item name from the corpse improperly ??????
I need to be able to return back the name of the item on corpse before looting in order to determine my action.
if you are using old loot method where you are looting the corpse, it should work how you do it, i would try and use the macro evaluator with a corpse open for looting and see if you get the expected results

however if you are using advloot on the live servers ,then you need to check advloot tlo.

if you are on emu, @aquietone has made a great Lua script for looting called lootnscoot that does all the things you need.
 
Question - TLO question . . trying to return ${Corpse.Item[${x)].Name}

Users who are viewing this thread

Back
Top
Cart