• 0

    posted a message on Macro / Keybind Mod

    Hey, I think I found an issue with the macros icon feature in 1.11.2.

    I have %HITID%:%HITDATA% bound to an icon in my gui, but for certain blocks like the redstone comparator, the upper part of double plants, item frames or inverted daylight sensors, the icons are either invalid, a sunflower by default, leaves or invalid respectively. Any way to make it work? I haven't found a way to setproperty or setlabel to bind certain things to an icon, unlike how I can for a label.


    Edit: Also doesn't work for things like lit furnaces or cocoa beans. Basically things with different states that aren't simply damage values.

    Posted in: Minecraft Mods
  • 0

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


    @Joel:


    found a solution for both




    That's a very cool feature to run macros straight from chat, may I know which commands you used to make such a thing possible?

    Posted in: Minecraft Mods
  • 0

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

    in the .gui file

    Where is that though? Doesn't appear to be a thing in the /minecraft folder.
    Posted in: Minecraft Mods
  • 0

    posted a message on Macro / Keybind Mod

    Hey, I would like to ask a few things, any useful answer would be greatly appreciated!


    1)

    How would I check if a certain macro is running? For example, I do:

    exec(guivital.txt,"name")

    Would it be possible to check if the text file named "guivital.txt" is running, or if the process named "name" is running?


    2)

    @mumfrey you recently very helpfully suggested to use RELOADRESOURCES; to reload texture pack resources (the equivalent of F3+T), but unfortunately on 1.8 macros there is no such command. Is there a work around to press F3 and T at the same time?


    3)

    @spthiel you said yo use the two commands:

    ${setproperty(stafflist,background,#00000001)}$
    ${setproperty(stafflist,colour,#00000001)}$

    However, running both of them did not change the transparency or colour of my GUI background or text in any way. Is it because I'm on 1.8?




    Sorry for the barrage of questions, again any useful answer would be greatly appreciated!

    Posted in: Minecraft Mods
  • 0

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



    Currently on 1.8 liteloader-macros due to how it doesn't have stuff like the annoying automatic shield on multiplayer servers. This doesn't appear to be a thing in 1.8 macros, is there any other way?




    Quote from Cloud7050»

    I ran this exact command ($${setproperty(stafflist,background,#00000001)}$$) via a direct keybind to the "." key, it didn't do anything unfortunately.


    Quote from Cloud7050»



    I did, but neither the text nor the background changed transparency or colour.


    Any ideas?
    Posted in: Minecraft Mods
  • 0

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

    @Cloud7050 you have to use both commands





    I did, but neither the text nor the background changed transparency or colour.

    Posted in: Minecraft Mods
  • 0

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

    @Joel


    if((&variable == "example" )||( &variable == test)) //it has to be if!

    log(true)

    endif


    $${setproperty(stafflist,background,#00000001)}$$

    $${setproperty(stafflist,colour,#00000001)}$$


    @Zath I actually don't know why


    I ran this exact command ($${setproperty(stafflist,background,#00000001)}$$) via a direct keybind to the "." key, it didn't do anything unfortunately.
    Posted in: Minecraft Mods
  • 0

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

    Quote from Mumfrey»

    Use RELOADRESOURCES()


    Currently on 1.8 liteloader-macros due to how it doesn't have stuff like the annoying automatic shield on multiplayer servers. This doesn't appear to be a thing in 1.8 macros, is there any other way?

    Posted in: Minecraft Mods
  • 0

    posted a message on Macro / Keybind Mod

    Is there a way to use a macro to press F3 and t at the same time? (This refreshes textures) As in run press(61) and press(20) at the same time, since press only runs for 1t I'm finding it hard to do.

    Posted in: Minecraft Mods
  • 0

    posted a message on Macro / Keybind Mod

    Holy damn that GUI is complex to me, some person with no official coding knowledge. Where do you paste all that GUI code into?

    Posted in: Minecraft Mods
  • 0

    posted a message on Macro / Keybind Mod
    Quote from SPThiel >>

    @Joel


    IF((%&terminal% == "stuff")||(%&terminal% == "example"));

    it works , but is not quite good


    IF((%&terminal% = "stuff")||(%&terminal% = "example"));


    works too, but please please please don't learn it this way


    IF((&terminal == "stuff")||(&terminal == "example"));


    since basically any language supports == this would be the best/shortest


    anyway regex is fine as long as you know how ... I would suggest you to use ifmatches only if you know for sure what you are doing since regex gets quite komplex when you use it the wrong way


    ~ spthiel


    Google + practice has given me the basic skills necessary, I've made a long ass Chat Filter script that uses IFMATCHES a few months back and have been adding to it/editing it ever since :)
    Posted in: Minecraft Mods
  • 0

    posted a message on How do get my forum name changed?

    Any staff or something able to change it to Cloud7050?

    Posted in: Forum Discussion & Info
  • 0

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

    Hello,


    I use MC 1.7.10 for I am using not updated mods I love. I try to write some macros using Macro-Keybind which call WorldEdit through commands like "echo(//expand 2 s)". That works fine but I am annoyed by messages WorldEdit generates. Is it any way not to display such messages? I have try CHATFILTER and what I think I have understood about but nothing works. Even statements like "&chat=%CHAT%" don't (&chat is "").

    I use single player mode.


    Help me please.


    Clovis9999


    What you need to do for the "&chat=..." stuff if you really want to, is to use SET.

    But there's a better way, use IFMATCHES.
    Posted in: Minecraft Mods
  • 0

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

    I managed to use the /speed command with a slider from 1 to 100 1 being 0.1 and 100 being 10.0, took a bit of work but works out great. Shame the mod doesn't support float values even tho XPOSF is a float. I basically turned a float into a 2 dimension array [0] is before the dot and [1] is after


    https://i.gyazo.com/daed23c64485020eb4691f6b29b4b2c8.mp4


    How did you do that that? :o
    Posted in: Minecraft Mods
  • 0

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

    IFMATCHES(%&variable%,"^(example|test)$"); //Does it though?

    IFMATCHES(%&terminal%,"stuff|example");

    that works but it would also also be true for a variable like "somestuff" because that contains the phrase "stuff". So to prevent that you'll have to do this:

    IFMATCHES(%&terminal%,"[\s\S]+stuff[\s\S]+|[\s\S]+example[\s\S]+");
    ELSE
    IFMATCHES(%&terminal%,"stuff|example");

    But at that point I might as well just copy and paste the whole script twice, one with IF(%&terminal%,"stuff"); and another with "example".

    BUT,
    with @SPThiel's new clarification, I now know that this should work (I haven't tested)

    IF((%&terminal% == "stuff")||(%&terminal% == "example"));

    -----
    Also, I think having only one = sign works too. Is that true?
    Posted in: Minecraft Mods
  • To post a comment, please .