Simple and Basic Tailor macro

Discussion in 'Guides' started by frenulum, Sep 26, 2012.

  1. frenulum

    frenulum Active Member

    Joined:
    Jul 28, 2012
    Messages:
    210
    Likes Received:
    34
    this macro simply remakes the last item made, and then cuts it back into cloth.


    Things to do/change/add for this macro to work:
    • Display/Counters Tab: you must add a counter for "robe", "oil cloth", and "studded leather gorgets".
    • Change the "If" statement to include one of the three counters, listed above, you will be macroing. (1st line)
    • Re-Target the item type to cut (4th line) when you start making a different item. (the only 3 items you need to make to GM tailoring are robes until 74.?, oil cloth until 99.6, and studded leather gorgets to GM)


    Now that you have those setup, you will need to either drop a stack of cloth in your bag, or modify this macro and add a restock agent to the beginning of this macro. Once that is in place, manually create one of the items you want to macro. Now start the macro. It will make 1 item and then cut the item.


    Code:
    !Loop
    Assistant.Macros.IfAction|50|1|1|robes
    Assistant.Macros.DoubleClickTypeAction|3999|True
    Assistant.Macros.WaitForTargetAction|2
    Assistant.Macros.TargetTypeAction|False|7939
    Assistant.Macros.PauseAction|00:00:01
    Assistant.Macros.ElseAction
    Assistant.Macros.DoubleClickTypeAction|3997|True
    Assistant.Macros.WaitForGumpAction|2002155655|False|2
    Assistant.Macros.GumpResponseAction|21|0|0
    Assistant.Macros.WaitForGumpAction|2002155655|False|2
    Assistant.Macros.PauseAction|00:00:02
    Assistant.Macros.EndIfAction

    (if you decide to add a restock agent to the macro, which would probably be best, don't forget to put sewing kits on the list to restock, or a new section in the macro to craft new sewing kits)

    Yes, I'm sure there are better, and probably more efficient, ways to get this done, so feel free to tell us all about them...

    -fren

Share This Page