• 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
Resource icon

Unmaintained Turnin.mac 9.3.2017

Server Type
🏢 Live Test
As requested by klipche

Let me know if any issues.

Rich (BB code):
| turnin.mac - Sym 9.3.2017 exclusively for RedGuides.com
|
| Gives selected item on cursor to targeted npc
| Usage: /mac turnin [count]
|
| count is optional, default is 4
| 
| Start macro with item to give on cursor and npc targeted.
|
| This macro will give one of each item to npc until count items have been given, then it will click the give button.
|   It will loop until there are no more items to give.
|


Sub Main
    /declare GiveCount int outer 4
    
    /if (${Defined[Param0]}) /varset GiveCount ${Param0}
    
    /declare a int 0
    /declare ItemToGive ${Cursor.Name}
    
    /if (!${Target.ID}) {
        /echo \arStart macro with NPC targeted.
        /endm
    }
    /if (!${Cursor.ID}) {
        /echo \arStart macro with turn in item on cursor.
        /endm
    }
    
    /if (${GiveCount} > 4) /varset GiveCount 4
    /autoinv
    /delay 1s !${Cursor.ID}

    /while (${FindItemCount[=${ItemToGive}]}) {
        /for a 1 to ${GiveCount}
            /nomodkey /ctrlkey /itemnotify ${FindItem[=${ItemToGive}].InvSlot} leftmouseup
            /delay 1s ${Cursor.ID}
            /if (${Cursor.ID}) {
                /click left target
                /delay 1s !${Cursor.ID}
            }
        /next a
        
        /notify GiveWnd GVW_Give_Button leftmouseup
        /delay 10s !${Window[GiveWnd].Open}
    }    

    /if (${Window[GiveWnd].Open}) {
        /notify GiveWnd GVW_Give_Button leftmouseup
    }
    

/return
Author
Sym
Watchers
10
First release
Last update

Ratings

5.00 star(s) 1 ratings

More resources from Sym

Share this resource

Latest reviews

Works perfectly for my needs, doing Whistling Fists and using this to gain faction so an enslaved iksar will talk to me.
Back
Top
Cart