Anyone have macro that can auto equip armor and is slot based. For example Slot 9 in your inventory would be for your helmet Slot 10 for your chest. I keep getting message to long and kicked. Thanks
Btw the annoying color from copying text from other posts is annoying when you do
Select colored part, press the eraser icon ("remove formatting"), apply code tags
a small cost in exchange for the readability, i'd say
(readability specifically for inexperienced (new) users, so they actually see how the code works instead of just copying it and not gaining anything)
if you still don't like it though, i could start putting code boxes after each colored one =P.
is there a mode to test macros on a single player map even iff you dont have that plugin it wont say "unknown command"? like to see what its sending for command?
Rollback Post to RevisionRollBack
http://entitycraft.com
-Towny -iconomy -pvp -High cap server -active staff -no lag -awesome builds
Select colored part, press the eraser icon ("remove formatting"), apply code tags
a small cost in exchange for the readability, i'd say
(readability specifically for inexperienced (new) users, so they actually see how the code works instead of just copying it and not gaining anything)
if you still don't like it though, i could start putting code boxes after each colored one =P.
Anyone have macro that can auto equip armor and is slot based. For example Slot 9 in your inventory would be for your helmet Slot 10 for your chest. I keep getting message to long and kicked. Thanks
Well you could hold down shift (KEYDOWN(LSHIFT)) and then pick(itemidforarmorpieces) and then it would automatically equip the armor if you don't have any on!
is there a mode to test macros on a single player map even iff you dont have that plugin it wont say "unknown command"? like to see what its sending for command?
You could run minecraft from a terminal and it would show what command you are sending.
Rollback Post to RevisionRollBack
Thanks to Mumfrey for creating this awesome mod! The Macro / Keybind Mod. If you ever need to contact me asap, go to the server: mc.synapsehlp.com
Anyone have macro that can auto equip armor and is slot based. For example Slot 9 in your inventory would be for your helmet Slot 10 for your chest. I keep getting message to long and kicked. Thanks
Sounds like you forgot the script tags so instead of running the script, you're saying it out loud in chat
Should be as easy as
is there a mode to test macros on a single player map even iff you dont have that plugin it wont say "unknown command"? like to see what its sending for command?
Thank you, that worked although its kind of odd that $$i returns a string value, its also odd that it had to be &id, i tried a different string and it didn't work, but oh well as long as it does what i want it to do.
Is there a way to check if you have any armor equipped in each slot and if you don't it goes to slot 9 10 11 12 to equip them. Because when 1 piece of armor breaks then the macro thinks they all are broken so it just spams equip on all the armor.
Also another problem I have is when I use the macro it doesn't equip the pants and boots it just puts them on for like half a second and then just gets unequipped
I'm working on a script that incorporates the name of the player I'm looking at.
To capture their name I use HITNAME, but on servers that color player names, there is a §# value before the name that, when echoed, displays ?#playerName. I want to remove the formatting. I tried using REPLACE but I can't use the '§'.
I'm working on a script that incorporates the name of the player I'm looking at.
To capture their name I use HITNAME, but on servers that color player names, there is a §# value before the name that, when echoed, displays ?#playerName. I want to remove the formatting. I tried using REPLACE but I can't use the '§'.
Thank you, that worked although its kind of odd that $$i returns a string value, its also odd that it had to be &id, i tried a different string and it didn't work, but oh well as long as it does what i want it to do.
The command requires a string.
It should work with every string.
Is there a way to check if you have any armor equipped in each slot and if you don't it goes to slot 9 10 11 12 to equip them. Because when 1 piece of armor breaks then the macro thinks they all are broken so it just spams equip on all the armor.
Also another problem I have is when I use the macro it doesn't equip the pants and boots it just puts them on for like half a second and then just gets unequipped
Surprisingly, there doesn't seem to be a command to check what item is in a slot..., and yet there is one to search all the slots for a certain item
use onArmorDurabilityChange to have it automatic, at the risk of it making you drop some items if in battle (as you rapid click while the inventory opens, you'll pick up the middle slot of the top row, and drop it when the inventory closes again)
The command requires a string.
It should work with every string.
Hmm well after testing a few different strings it seems the string variable can't have capital letters anywhere. That was why other variables i was trying to use didn't work i guess. I don't know why, but its good to know because i was using capital letters everywhere(darn java habits).
Does anybody know if there is a global variable to see if you are on a server or not?
Hmm well after testing a few different strings it seems the string variable can't have capital letters anywhere. That was why other variables i was trying to use didn't work i guess. I don't know why, but its good to know because i was using capital letters everywhere(darn java habits).
Does anybody know if there is a global variable to see if you are on a server or not?
You could check what is in %SERVER% when you are on Singleplayer.
You could check what is in %SERVER% when you are on Singleplayer.
I have that which does work. What I really would like is to be able to get the world name and set the configuration to a specific one based on the name because single player %SERVER% is going to be the same for every world.
I don't know anything about the NBT format that minecraft uses, but i think a worldname variable is possible. (hint hint mumfrey :P)
Hello.
I have some questions:
1. I see that there are some phrases to translate. I can translate them. Can I?
2. I wanted to make "onLevelChange" event to write "LEVEL UP! I have new_level now!" whenever I will get new level. I tried this:
- $${IIF(LEVEL > 1,"LEVEL UP! I have %LEVEL% now!")}$$ <-- does nothing
- LEVEL UP! I have %LEVEL% now! <-- works but %LEVEL% isn't replacing with level
Help me please!
Rollback Post to RevisionRollBack
Inactive on these forums. Use Steam or Discord if you want to say hi
Hello.
I have some questions:
1. I see that there are some phrases to translate. I can translate them. Can I?
2. I wanted to make "onLevelChange" event to write "LEVEL UP! I have new_level now!" whenever I will get new level. I tried this:
- $${IIF(LEVEL > 1,"LEVEL UP! I have %LEVEL% now!")}$$ <-- does nothing
- LEVEL UP! I have %LEVEL% now! <-- works but %LEVEL% isn't replacing with level
Help me please!
1. I cannot say it's okay (as I am not Mumfrey), but I believe Mumfrey would say ok.
2.
Macro/Keybind mod Wiki
Select colored part, press the eraser icon ("remove formatting"), apply code tags
a small cost in exchange for the readability, i'd say
(readability specifically for inexperienced (new) users, so they actually see how the code works instead of just copying it and not gaining anything)
if you still don't like it though, i could start putting code boxes after each colored one =P.
'Cause tomorrow spring is here
-Towny -iconomy -pvp -High cap server -active staff -no lag -awesome builds
I'd love that
Well you could hold down shift (KEYDOWN(LSHIFT)) and then pick(itemidforarmorpieces) and then it would automatically equip the armor if you don't have any on!
You could run minecraft from a terminal and it would show what command you are sending.
Sounds like you forgot the script tags so instead of running the script, you're saying it out loud in chat
Should be as easy as
$${
GUI(Inventory)
Slotclick(9,l,true)
Slotclick(10,l,true)
Slotclick(11,l,true)
Slotclick(12,l,true)
Gui()
}$$
Alternate solution;
Replace all "Echo(" with "LogTo("debug","
That reminds me though, i don't think i got a response
Outgoing chat filter? (suggestion)
'Cause tomorrow spring is here
Thank you, that worked although its kind of odd that $$i returns a string value, its also odd that it had to be &id, i tried a different string and it didn't work, but oh well as long as it does what i want it to do.
Is there a way to check if you have any armor equipped in each slot and if you don't it goes to slot 9 10 11 12 to equip them. Because when 1 piece of armor breaks then the macro thinks they all are broken so it just spams equip on all the armor.
Also another problem I have is when I use the macro it doesn't equip the pants and boots it just puts them on for like half a second and then just gets unequipped
To capture their name I use HITNAME, but on servers that color player names, there is a §# value before the name that, when echoed, displays ?#playerName. I want to remove the formatting. I tried using REPLACE but I can't use the '§'.
Use the STRIP command.
Then use the &hitname variable for whatever you're doing with it, or whatever you would like to name it.
The command requires a string.
It should work with every string.
Macro/Keybind mod Wiki
Surprisingly, there doesn't seem to be a command to check what item is in a slot..., and yet there is one to search all the slots for a certain item
hmm..., how about durability checks for the armor
IF(BOOTSDURABILITY < 1)
GUI(Inventory)
Slotclick(9,l,true)
ENDIF
IF(LEGGINGSDURABILITY < 1)
GUI(Inventory)
Slotclick(10,l,true)
ENDIF
IF(CHESTPLATEDURABILITY < 1)
GUI(Inventory)
Slotclick(11,l,true)
ENDIF
IF(HELMDURABILITY < 1)
GUI(Inventory)
Slotclick(12,l,true)
ENDIF
Gui()
use onArmorDurabilityChange to have it automatic, at the risk of it making you drop some items if in battle (as you rapid click while the inventory opens, you'll pick up the middle slot of the top row, and drop it when the inventory closes again)
Fileless version for direct copy-pasting and zeel
'Cause tomorrow spring is here
Ah, thank you
@Mumfrey Add please =P
'Cause tomorrow spring is here
Hmm well after testing a few different strings it seems the string variable can't have capital letters anywhere. That was why other variables i was trying to use didn't work i guess. I don't know why, but its good to know because i was using capital letters everywhere(darn java habits).
Does anybody know if there is a global variable to see if you are on a server or not?
You could check what is in %SERVER% when you are on Singleplayer.
Macro/Keybind mod Wiki
I have that which does work. What I really would like is to be able to get the world name and set the configuration to a specific one based on the name because single player %SERVER% is going to be the same for every world.
I don't know anything about the NBT format that minecraft uses, but i think a worldname variable is possible. (hint hint mumfrey :P)
I have some questions:
1. I see that there are some phrases to translate. I can translate them. Can I?
2. I wanted to make "onLevelChange" event to write "LEVEL UP! I have new_level now!" whenever I will get new level. I tried this:
- $${IIF(LEVEL > 1,"LEVEL UP! I have %LEVEL% now!")}$$ <-- does nothing
- LEVEL UP! I have %LEVEL% now! <-- works but %LEVEL% isn't replacing with level
Help me please!
Inactive on these forums. Use Steam or Discord if you want to say hi
1. I cannot say it's okay (as I am not Mumfrey), but I believe Mumfrey would say ok.
2. should work.
Thanks but I meant something different. I want to make it seen by everybody. Like I wrote it.
Inactive on these forums. Use Steam or Discord if you want to say hi