• IS THIS SITE UGLY? Click "RG3" at the very bottom-left of this page to change it. To dismiss this notice, click the X --->
Simple experimental environment (Forge, Kiln, etc) combine macro

Trade / Skill Simple experimental environment (Forge, Kiln, etc) combine macro 2-9-2018

Download now: Join us with Level 2 access
or earn your way in with RedCents.
Other Authors
Maskoi
This is something I threw together to do combines until the recipe is learned. It handles salvage by picking up each item in the container adding what is missing. You only have to change the number of items to make the combine and the name of each component used in the combine. Any issues let me know.

Thanks to Maskoi for the combine notify button info and how to drop the item into the right spot

Rich (BB code):
| Simple environment (forge, kiln, etc) experimental combine macro
| envcombine.mac
| 2012-02-13 by Sym


#Event LearnedRecipe "You have learned the recipe #*#"

Sub Main

| change IC value to how many items to combine
    /declare IC int outer 3
    /declare Item[${IC}] string outer
   
   
| /varset name of each item, must match # above   
    /varset Item[1] Grande Wormwood
    /varset Item[2] Water Flask
    /varset Item[3] Bottle   

| nothing else to edit past here   
   
    /declare a int  
    :Start
        /doevents
        /for a 1 to ${IC}
            /nomodkey /itemnotify enviro${a} leftmouseup
            /delay 2
            /if (${Cursor.ID}) {
                /nomodkey /itemnotify enviro${a} leftmouseup
                /delay 2
            } else {
                /if (${FindItem[=${Item[${a}]}].InvSlot} > 0) {
                    /nomodkey /ctrl /itemnotify ${FindItem[=${Item[${a}]}].InvSlot} leftmouseup
                    /delay 2 ${Cursor.ID}
                    /nomodkey /itemnotify enviro${a} leftmouseup
                } else {
                    /beep
                    /e You are missing ${Item[${a}]}
                    /endm
                }
            }
            /delay 2
        /next a
        /notify ContainerCombine_Items Container_Combine leftmouseup
        /delay 1s ${Cursor.ID}
        :ClearCursor
            /autoinv
            /delay 5 !${Cursor.ID}
        /if (${Cursor.ID}) /goto :ClearCursor
        /delay 5
   
    /goto :Start
/return


sub Event_LearnedRecipe
    /beep
    /e You have learned how to make this, you can use combine.mac now instead
    /beep
/return
Server Type
Live, Emu, TLP, Test Server
Author
Rooster
Downloads
9
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Rooster

Latest updates

  1. Rooster's update

    I originally started writing my own macro, but then thought surely someone else has this...
Top