• 0

    posted a message on Macro / Keybind Mod
    How are you checking which directory to use? Because for me it is still using the old directory /mods/macros/ instead of /liteconfig/common/macros/
    Posted in: Minecraft Mods
  • 0

    posted a message on Macro / Keybind Mod
    Quote from kiarules»


    May I interest anyone in this?

    I can't download your module because your download link says that it couln't find it.
    Posted in: Minecraft Mods
  • 0

    posted a message on Macro / Keybind Mod
    That won't work because the include pastes the content of the file into to the current script before executing the script.

    Because of that your script would look like this:
    &variable = item1
    item 2
    item 3
    Posted in: Minecraft Mods
  • 0

    posted a message on Macro / Keybind Mod
    Quote from Sgt_Commander_DK
    Is there a way I can send a chat message with a certain key?

    Yes, just put the chat message on any key and it will send it to the server once you hit that key.
    Posted in: Minecraft Mods
  • 0

    posted a message on Macro / Keybind Mod
    Hmm... It seems that STORE(<type>,[name]) no longer works.

    I tried the following code but it didn't add the place to $$p.
    store("place","death");
    Posted in: Minecraft Mods
  • 0

    posted a message on Macro / Keybind Mod
    Uhh... it only matches from the start of the string if the regex is prefixed with ^
    Posted in: Minecraft Mods
  • 0

    posted a message on Macro / Keybind Mod
    Quote from Sanwi
    Is it possible to read status effects with macro mod? Things like potions, beacons, etc.

    Yes you can use the effects iterator.
    Posted in: Minecraft Mods
  • 0

    posted a message on Macro / Keybind Mod
    Quote from LincolnSSC
    But it's for minecraft 1.5.2? I play in this version.

    But it's for minecraft 1.5.2? I play in this version.

    Yes it still works in 1.7.x, I use it myself
    Posted in: Minecraft Mods
  • 0

    posted a message on Macro / Keybind Mod
    Quote from LincolnSSC
    Is possible to add an image of an item of Minecraft in a Label? Example: the image of a diamond helmet.

    It is possible but only with a resource pack which changes a few chinese characters to minecraft icons.
    You can find a download link to such a resource pack here.
    Posted in: Minecraft Mods
  • 0

    posted a message on Macro / Keybind Mod
    Quote from kiarules
    I'm having a problem of my own: IFMATCHES/MATCH isn't working right.

    I'm loading schematics from the //schem list command, and I'm pulling out the names with a regex. I tested it on this site and it works great, exactly what I want. Then I used this code in Macro/Keybind to grab the names:
     IFMATCHES(%&chat%, "(.+).schematic: (.+)", &schemit, 1);
    MATCH(%&chat%,"(.+).schematic: (.+)", {&sname, &sformat});
    LOG("%&sname%: %&sformat%");
    LOG("%&schemit%");
    ENDIF;

    But the 3 variables are always empty. I logged the variable straight to a text file, took one of the lines, and tested it on the regex site, and it was fine.

    A simple test to show the bug:
    SET(&chat, " 2wideadder.schematic: MCEdit");
    IFMATCHES(%&chat%, "(.+).schematic: (.+)", &schemit, 1);
    MATCH(%&chat%,"(.+).schematic: (.+)", {&sname, &sformat});
    LOG("%&sname%: %&sformat%");
    LOG("%&schemit%");
    ENDIF;

    It will probably work if you remove all spaces after commas.
    Posted in: Minecraft Mods
  • 0

    posted a message on Macro / Keybind Mod
    Quote from ArlonCarol
    Hey Gorlem, I'm trying to use your Autowalk and Terrain.txt scripts but I can't seem to get it to work.

    When it runs into a block it just sits there and doesn't do anything. I added LOG commands before and after the part where it tries to execute Terrain.txt and then i've added LOG commands inside terrain.txt itself and it's successfully running it but then it just repeats over and over again.

    So to sum it up: when you get stuck on a block, it just runs terrain.txt over and over and doesn't move on to the next part of the script where it gets unstuck.

    Any idea why?

    Both scripts are outdated because the ids are now strings instead of integers.
    I could update those scripts but I don't really think they are too useful.
    Posted in: Minecraft Mods
  • 0

    posted a message on Link gets stripped from [url] tag
    If I use a url like this:
    http://mkb.bplaced.net/#/wiki/commands?usage=CRAFTANDWAIT(%3Citem%5B:id%5D%3E,%5Bamount%5D,%5Bthrow%5D,%5Bverbose%5D)
    inside an [ url ] tag the link gets stripped away completely.

    Example
    Posted in: Cobalt Feedback
  • 0

    posted a message on Macro / Keybind Mod
    $${
    FOREACH(players)
         echo("/msg %PLAYERNAME% <message>")
    NEXT
    }$$
    Posted in: Minecraft Mods
  • 0

    posted a message on Macro / Keybind Mod
    Quote from Gaming_Beast_64

    I was just wondering, is there any way that macros can play an audio file whenever a chosen line of text appears in chat?

    Yes, first you have to convert your audio file to a .ogg file and place this file inside macros/sounds.
    Then ingame you can use this command: PLAYSOUND(<sound>)
    Posted in: Minecraft Mods
  • 0

    posted a message on Macro / Keybind Mod
    Quote from Harrison_TOM

    there are a suggestion for the script.
    I think you can designed a simple syntax check.
    because your command need ; in the end, if i did not add the ';', it does not show any error.
    I think that will be better if there are syntax check, and show the syntax error.

    You don't need a ';' at the end of every command. If you separate them with a new line it will also work.
    Posted in: Minecraft Mods
  • To post a comment, please .