• You've discovered RedGuides 📕 an EverQuest multi-boxing community 🛡️🧙🗡️. We want you to play several EQ characters at once, come join us and say hello! 👋
  • IS THIS SITE UGLY? Change the look. To dismiss this notice, click the X --->
  • EverQuest's 31st expansion The Outer Brood goes live Dec 3rd. brainiac is spending extra time updating MacroQuest. Please show him your appreciation.
Resource icon

Unmaintained Turnin.mac 9.3.2017

Download now:  Join us with Level 2 access or earn your way in with  RedCents.
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
First release
Last update
Rating
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