setCraftRecipe

Forum Forums Discussion setCraftRecipe

This topic contains 3 replies, has 3 voices, and was last updated by Chomosuke Chomosuke 4 years, 6 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #21699

    bottybot
    Participant
    0

    Hi, Have been trying to make a scenario where my character changes to ALC, eats crafting food, chooses a recipe (in this case Grade 3 Tinctures), crafts using a custom macro I made myself and then repeats.

    Here is the scenario as it stands:

    //alchemist
    job(ALC)
    //food
    sendicon(6, 2, 2.5)
    //recipe
    setCraftRecipe (Grade 3 Tincture of Dexterity)
    craftmacro(DURA 70 5.2 cp)
    craft(49)
    repeatChapter (3)

    I keep getting an error when trying to start it:

    ERROR (Chapter 1, Line 6): Syntax error. Expected format: function(arguments)

    I’m not sure what I am doing wrong… anyone able to advise or help? Hopefully pretty simple I’m sure.

    #21700
    Lyfox
    Lyfox
    Participant
    0

    You have a space after setCraftRecipe. Function syntax doesnt allow spaces.

    #21702

    bottybot
    Participant
    0

    Wow, thank you, I knew it would be something simple.

    #21706
    Chomosuke
    Chomosuke
    Participant
    0

    you can also shorthand the command as recipe(___)

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.