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.
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?
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?
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?
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.
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
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.
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
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:
0
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.
0
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?
0
Where is that though? Doesn't appear to be a thing in the /minecraft folder.
0
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:
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:
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!
0
Any ideas?
0
I did, but neither the text nor the background changed transparency or colour.
0
I ran this exact command ($${setproperty(stafflist,background,#00000001)}$$) via a direct keybind to the "." key, it didn't do anything unfortunately.
0
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?
0
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.
0
Holy damn that GUI is complex to me, some person with no official coding knowledge. Where do you paste all that GUI code into?
0
@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
0
Any staff or something able to change it to Cloud7050?
0
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.
0
How did you do that that?
0
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?