This may not be the issue, but I think you put an extra space in the second line. Check between the words 'to' and 'Golden'
That very likely is the issue, yes
In fact, the patterns in your IFMATCHES and MATCH should be IDENTICAL - otherwise you risk the first pattern matching while the other fails, in which case it will just use whatever value &player had previously - welcoming the wrong player (or in this case, no player)
If I was already running an anti-afk script (That i've already written and tested), but I wanted to make it so that when/if ever someone said my name in chat while the anti-afk script was running, I would disconnect from the server, how would I do that?
Thank you so much, but I don't know what a flag is so I'm assuming I don't have one. Do I just put that at the end of my script but before the }$$ ?
I'm not too experienced, and I don't want to give you false information. But from my knowledge, a flag is basically an on or off state. You can create a flag and turn it on or off, which you can use to enable or disable your script whenever you need. If you don't have a flag to toggle the antiafk script, you should add this somewhere within it:
Can anyone tell me how to use KEYDOWN/KEYUP? I want to use it to emulate fire i.e when the mouse is down, KEYDOWN(RMB) and vice versa for when it's up?
Can anyone tell me how to use KEYDOWN/KEYUP? I want to use it to emulate fire i.e when the mouse is down, KEYDOWN(RMB) and vice versa for when it's up?
First of all, in MKB you hold down controls, not keys
so it's not RMB, it's (i'm assuming) Use
Secondly, KeyDown() only works with stateful controls, and by heart i don't know if Use is one of them
Try KeyDown(use), but if that doesn't work use Key(use) in a loop instead
Does anyone know if you can macro F3+ A to a single key somehow? I need to use this many times due to chuck rendering issues, but many times I have to try doing it many times. I'd like to macro the combined press to F3 to make it easier. The problem is I cant type F3 into the input box when I try to make a macro.
This works, but it isnt doing the second (f3) press, making the text not turn off. I can hit the macro button and it goes away but i'd like to fix it so it registers the second (f3) press instead. Should I try adding a short wait between the presses?
Edit- I went ahead and added a ;wait(10) between the 2 Press(F3). Works perfectly now. Thanks
Edit- So now it only works the first few times I do it, then it stops working
I'm surprised that there isn't a separate wiki/database of advanced scripts that were already written by previous people with descriptions of what the script does. (Just copy & Past)
For Example:
Creator: Agt_Montag
Description: Welcome script - Automatically welcomes new players to a server
Script: JHJDSFD@3((Welcome [Newperson name])) +jfu&85@ud8n3j (Made up script, of course)
Notes: Make sure you add the dubba wubba to the floopti flap or the welcome will come out like a bag of soggy potatoes
I have a few bugs which I think were not already reported:
CRAFT Action: Seems to give you two items while you are in creative and don't already have the item.
PICK Action: Doesn't seem to work with enchanted or named tools.
VEHICLE Variable: Returns entity.MinecartRideable.name for Minecarts.
SEED Variable: Returns 0 even in Single Player.
Noted in tracker. I'm literally back-to-back with events until late april now so I won't have time to fix any time soon, but will make sure these are addressed in the next release.
I'm surprised that there isn't a separate wiki/database of advanced scripts that were already written by previous people with descriptions of what the script does. (Just copy & Past)
This may not be the issue, but I think you put an extra space in the second line. Check between the words 'to' and 'Golden'
That very likely is the issue, yes
In fact, the patterns in your IFMATCHES and MATCH should be IDENTICAL - otherwise you risk the first pattern matching while the other fails, in which case it will just use whatever value &player had previously - welcoming the wrong player (or in this case, no player)
'Cause tomorrow spring is here
If I was already running an anti-afk script (That i've already written and tested), but I wanted to make it so that when/if ever someone said my name in chat while the anti-afk script was running, I would disconnect from the server, how would I do that?
I am assuming your username is Calcifer2017, and you have a flag to toggle your anti-afk script.
Thank you so much, but I don't know what a flag is so I'm assuming I don't have one. Do I just put that at the end of my script but before the }$$ ?
Is there a way to read the lore of an item, in this case, I want to read the info given on auction house
I'm not too experienced, and I don't want to give you false information. But from my knowledge, a flag is basically an on or off state. You can create a flag and turn it on or off, which you can use to enable or disable your script whenever you need. If you don't have a flag to toggle the antiafk script, you should add this somewhere within it:
I don't believe that is quite possible yet, not entirely sure though.
Can anyone tell me how to use KEYDOWN/KEYUP? I want to use it to emulate fire i.e when the mouse is down, KEYDOWN(RMB) and vice versa for when it's up?
is there an way to toggle the skin layers?
for toggleing the head layer on an off etc
First of all, in MKB you hold down controls, not keys
so it's not RMB, it's (i'm assuming) Use
Secondly, KeyDown() only works with stateful controls, and by heart i don't know if Use is one of them
Try KeyDown(use), but if that doesn't work use Key(use) in a loop instead
'Cause tomorrow spring is here
Does anyone know if you can macro F3+ A to a single key somehow? I need to use this many times due to chuck rendering issues, but many times I have to try doing it many times. I'd like to macro the combined press to F3 to make it easier. The problem is I cant type F3 into the input box when I try to make a macro.
Go into the macro bindings: keys screen, select the key you want, and paste the following into the input box:
$${PRESS(A);PRESS(F3);PRESS(F3)}$$
The chunks should reload whenever you press your selected key, and the text from f3 should be hidden from view.
@Greenjmand use WAIT(delay)
p.e.:
WAIT(800ms) //waits 800 milliseconds
WAIT(3) // waits 3 seconds
WAIT(20t) // waits 20 ticks = 1 second
This works, but it isnt doing the second (f3) press, making the text not turn off. I can hit the macro button and it goes away but i'd like to fix it so it registers the second (f3) press instead. Should I try adding a short wait between the presses?
Edit- I went ahead and added a ;wait(10) between the 2 Press(F3). Works perfectly now. Thanks
Edit- So now it only works the first few times I do it, then it stops working
I have a few bugs which I think were not already reported:
CRAFT Action: Seems to give you two items while you are in creative and don't already have the item.
PICK Action: Doesn't seem to work with enchanted or named tools.
VEHICLE Variable: Returns entity.MinecartRideable.name for Minecarts.
SEED Variable: Returns 0 even in Single Player.
Macro/Keybind mod Wiki
Has anyone an idea to put all items in my inventory to the ender pouch on pickup?
I don't find anything about this and i can't write a macro because i don't know what commands i must be use.
Hope any can help me.
Thanks.
I'm surprised that there isn't a separate wiki/database of advanced scripts that were already written by previous people with descriptions of what the script does. (Just copy & Past)
For Example:
Creator: Agt_Montag
Description: Welcome script - Automatically welcomes new players to a server
Script: JHJDSFD@3((Welcome [Newperson name])) +jfu&85@ud8n3j (Made up script, of course)
Notes: Make sure you add the dubba wubba to the floopti flap or the welcome will come out like a bag of soggy potatoes
Noted in tracker. I'm literally back-to-back with events until late april now so I won't have time to fix any time soon, but will make sure these are addressed in the next release.
I mean, there is this: http://mkb-wiki.herokuapp.com/scripts/list
But I think a more easily accessible list would help more people out.