I noticed that pressing the increase/decrease volume button on my in-line headset control causes macro-keybinds mod to open a console which allows you to use stuff like RM. What is the official bind to open that via the keyboard and is there a way to change that bind?
Is there no way to store / call a decimal or float? I'm trying to use direction in a summon macro and I cannot create a decimal vector direction. # Is float, & is string. How does one use decimals?
I know &5$$[chat] is the easiest way but I want to make sure that I can see through all the stuff I typed so I want the other one instead.
There are two ways that I think are easiest to accomplish this, both of which you bind to the letter T:
&5$$!
This will automatically type out the color code for you when you press T, leaving your cursor after the color code so you don't have to do any work other than type your message ;-)
&5$$?
This will automatically input the color code for you, and will prompt you to type an input and press enter before the chat is sent. You won't see the color code here.
Hi, i need to be able to read from a txt. What would you recommend? I know I can write with LOGTO(). I guess theres some way to use EXEC() to read the lines of a file but im not sure how.
Hi, i need to be able to read from a txt. What would you recommend? I know I can write with LOGTO(). I guess theres some way to use EXEC() to read the lines of a file but im not sure how.
Thank you, ill look at that. Do you have any suggestions for making more complex macros? I'd rather not using macro mod of course, but no alternatives seem so much better. Also instead of a text file, can I modify the contents of arrays and have these changes save across game restarts?
Thank you, ill look at that. Do you have any suggestions for making more complex macros? I'd rather not using macro mod of course, but no alternatives seem so much better. Also instead of a text file, can I modify the contents of arrays and have these changes save across game restarts?
So I have 6 years of coding on my back, but I'm fairly new to macro keybind scripting (though I have experience from the mod from before).
So I'm trying to get the value of a slider for a script
I have the slider set up here:
I then have this piece of code when I press a button:
I then have the slider set to value 2 / 5 meaning this should log 1
However I noticed it logs out False so I did some digging and noticed %NAME% = Boolean, %#NAME% = Integer and %&NAME% = String
So I tried changing the code to
But that gave me 0 instead of 1.
Lastly I did a lot of different combinations of changing the GETPROPERTY parameters and the variable format, but all I get in chat is either 0, False or nothing.
I've also tried googling for scripts using GETPROPERTY for sliders but the results are mostly links to the mainpage on this thread or your youtube videos from 2011 and since what it looks like this is my last resort.
Sliders work similarly to labels in that you bind them to a shared variable, you can then simply access the shared variable in your scripts to get or set the value. Shared variables (unlike normal variables) are not attached to the macro trigger that owns the macro, they are shared amongst all scripts. To make a shared variable, prepend an at symbol "@" to the variable name. In order to avoid breaking other scripts with local variables, shared variables exist independently of local variables so for example @#foo is a shared counter variable and #foo is a local counter variable.
So to use the slider value, simply enter a shared variable name eg. @#myslider and you can then use this in your scripts.
GETPROPERTY and SETPROPERTY are mainly for runtime customisation of controls (eg. changing colours, labels, etc) and are not super efficient, this is why labels and sliders use the concept of binding to a variable since it's a much more efficient read/write operation and can support many scripts reading and writing the value at once with negligible overhead.
It works but generates 2 butchers to provide 3 different types of door. I tried writing an instruction that combines all 3 with a single Villager but it's too long.
Is there any way with this Mod I can choose 1 of 3 Butchers to provide my choice of door type (Acacia, Oak, or Spruce)?
Please understand it's taken me the better part of a week to get it down to 2 Villagers, My ability to code is extremely limited.
Last time i used this Mod was years ago, and I remember i asked in this topic (far too many pages!) about how to make a command to put a block right under a player when in the air. Probably in combination with WorldEdit. I already searched but cant find that post here anymore. Could someone please tell me how to do that ? Would really appreciate it.
Thanks in advance.
Wolf
P.S: Hmm, i installed the Mod (put into the mods folder) but it wont load up. I installed both, Forge & Liteloader (in the correct combination) yet this Mod is not recognized. Shouldnt it load, if both Forge and Liteloader are working and installed ? I am using MC 1.12.1 btw. I remember this Mod worked back then, and I always used both, Forge and Liteloader. Whats the issue now ? Does maybe someonw know this problem ?
I have been having an issue with this mod. It works fine on a widescreen monitor, but when I drag it to a 4:3 monitor and drag it to the top to fit with Windows, a red box with text showing "<!--?" appears. I have taken out all other mods, and this is still an issue. I tested it in 1.12.1 and 1.12.2. Can both of these versions be fixed? Or is there an issue with my game that I am not noticing?</p-->
I noticed that pressing the increase/decrease volume button on my in-line headset control causes macro-keybinds mod to open a console which allows you to use stuff like RM. What is the official bind to open that via the keyboard and is there a way to change that bind?
Until next time, immediacy.
Is there no way to store / call a decimal or float? I'm trying to use direction in a summon macro and I cannot create a decimal vector direction. # Is float, & is string. How does one use decimals?
Until next time, immediacy.
@Immediacy # is not float, # stores integer it is not really possible to set a float unless you use a ton of scripting power
So there's no way to calculate a decimal?
Until next time, immediacy.
There are two ways that I think are easiest to accomplish this, both of which you bind to the letter T:
&5$$!
This will automatically type out the color code for you when you press T, leaving your cursor after the color code so you don't have to do any work other than type your message ;-)
&5$$?
This will automatically input the color code for you, and will prompt you to type an input and press enter before the chat is sent. You won't see the color code here.
Hi, i need to be able to read from a txt. What would you recommend? I know I can write with LOGTO(). I guess theres some way to use EXEC() to read the lines of a file but im not sure how.
@Squarededs
EXEC() is used to run scripts (in a special way), you can't use it to read textfiles.
There is also no other way of doing this. You may want to install a module
Techshroom made a read file module some time ago, but it hasn't been updated in a while so it may not work for your version of Minecraft.
Thank you, ill look at that. Do you have any suggestions for making more complex macros? I'd rather not using macro mod of course, but no alternatives seem so much better. Also instead of a text file, can I modify the contents of arrays and have these changes save across game restarts?
Thank you, ill look at that. Do you have any suggestions for making more complex macros? I'd rather not using macro mod of course, but no alternatives seem so much better. Also instead of a text file, can I modify the contents of arrays and have these changes save across game restarts?
Ofc you can edit arrays.. what do you mean save across game restarts? Arrays will be saved across game restarts..
So I have 6 years of coding on my back, but I'm fairly new to macro keybind scripting (though I have experience from the mod from before).
So I'm trying to get the value of a slider for a script
I have the slider set up here:
I then have this piece of code when I press a button:
I then have the slider set to value 2 / 5 meaning this should log 1
However I noticed it logs out False so I did some digging and noticed %NAME% = Boolean, %#NAME% = Integer and %&NAME% = String
So I tried changing the code to
But that gave me 0 instead of 1.
Lastly I did a lot of different combinations of changing the GETPROPERTY parameters and the variable format, but all I get in chat is either 0, False or nothing.
I've also tried googling for scripts using GETPROPERTY for sliders but the results are mostly links to the mainpage on this thread or your youtube videos from 2011 and since what it looks like this is my last resort.
So how to I use GETPROPERTY?
Sliders work similarly to labels in that you bind them to a shared variable, you can then simply access the shared variable in your scripts to get or set the value. Shared variables (unlike normal variables) are not attached to the macro trigger that owns the macro, they are shared amongst all scripts. To make a shared variable, prepend an at symbol "@" to the variable name. In order to avoid breaking other scripts with local variables, shared variables exist independently of local variables so for example @#foo is a shared counter variable and #foo is a local counter variable.
So to use the slider value, simply enter a shared variable name eg. @#myslider and you can then use this in your scripts.
GETPROPERTY and SETPROPERTY are mainly for runtime customisation of controls (eg. changing colours, labels, etc) and are not super efficient, this is why labels and sliders use the concept of binding to a variable since it's a much more efficient read/write operation and can support many scripts reading and writing the value at once with negligible overhead.
Hello
Is there a way to access the recipe book? I've tried sloclick() with the values 1-1000, that did not work.
And I seem to have problems gettign craft() to work, how does this work?
A little help please:
I wrote the following to provide an easy way to get doors when I visit a village for the first time.
/summon Villager ~ ~ ~1 {CustomName:Oak,Profession:4,Career:2,CareerLevel:5,maxUses:5,Offers:{Recipes:[{buy:{id:cobblestone,Count:1},sell:{id:wooden_door,Count:10}}]}}|/summon Villager ~1 ~ ~ {CustomName:Doors,Profession:4,Career:2,CareerLevel:5,maxUses:5,Offers:{Recipes:[{buy:{id:cobblestone,Count:1},sell:{id:spruce_door,Count:10}},{buy:{id:cobblestone,Count:1},sell:{id:acacia_door,Count:10}}]}}
It works but generates 2 butchers to provide 3 different types of door. I tried writing an instruction that combines all 3 with a single Villager but it's too long.
Is there any way with this Mod I can choose 1 of 3 Butchers to provide my choice of door type (Acacia, Oak, or Spruce)?
Please understand it's taken me the better part of a week to get it down to 2 Villagers, My ability to code is extremely limited.
TIA
Lou
Code for 3 different villagers follows:
/summon Villager ~ ~ ~1 {CustomName:Oak,Profession:4,Career:2,CareerLevel:5,maxUses:5,Offers:{Recipes:[{buy:{id:cobblestone,Count:1},sell:{id:wooden_door,Count:10}}]}}|/summon Villager ~1 ~ ~ {CustomName:Spruce,Profession:4,Career:2,CareerLevel:5,maxUses:5,Offers:{Recipes:[{buy:{id:cobblestone,Count:1},sell:{id:spruce_door,Count:10}}]}}|/summon Villager ~ ~ ~-1 {CustomName:Acacia,Profession:4,Career:2,CareerLevel:5,maxUses:5,Offers:{Recipes:[{buy:{id:cobblestone,Count:1},sell:{id:acacia_door,Count:10}}]}}
Links to pdf format, downloadable, command lists for (these often clarify/expand descriptions, and where possible link to the author's posting):
MoreCommands: http://www.mediafire.com/view/qjc9c6klcnp660e/CmdLstMoreCommands.pdf
WorldEdit: http://www.mediafire.com/view/bi7r00xd9rgxrrt/WE_Commands.pdf
WE the command is /up 0 (glass). Care to guess what it would be if you wanted to rise 10 blocks?
Open vanilla, close it.
Open Forge, close it.
Extend LiteLoader from the newly created Forge profile, then open that new provile.
I think you cand also expand LL and drag that to the /minecraft/mods/1.12.1 folder. Then Forge can find it. No guarantees on this one!
HTH
Lou
edited 27 Dec 2017
You could have opened your profile, then your posts and found the last time you asked your question pretty easily, based on your post count.
Links to pdf format, downloadable, command lists for (these often clarify/expand descriptions, and where possible link to the author's posting):
MoreCommands: http://www.mediafire.com/view/qjc9c6klcnp660e/CmdLstMoreCommands.pdf
WorldEdit: http://www.mediafire.com/view/bi7r00xd9rgxrrt/WE_Commands.pdf
This should work. It works without using any extra mods or plugins.
Is there anyway to create a 1D array of strings with this mod?
In C I would do string array[10] = {10items....}
I want to store several names in an array, then using a random number to select the name in the array. Is this possible.
Hi, Can someone help me?
How can I make a macro for clicking in level 30 at enchantment table.
Thank you and sorry for my bad english
I have been having an issue with this mod. It works fine on a widescreen monitor, but when I drag it to a 4:3 monitor and drag it to the top to fit with Windows, a red box with text showing "<!--?" appears. I have taken out all other mods, and this is still an issue. I tested it in 1.12.1 and 1.12.2. Can both of these versions be fixed? Or is there an issue with my game that I am not noticing?</p-->
Thanks for reading.