okay this is kind of what I have. Let me now explain what I want to do.
What I want to do is this; I play on a server where the inventory is bigger, your inventory can have an enderchest open in it if needed pretty much so it's the same GUI as an enderchest would be I guess lol. I want to detect when the last slot of the enderchest (slot 26) is filled, when it is filled, I want to do an action, say I go from my enderchest and I want it to autocraft an item, but I don't need to move my yaw or anything because the crafting table would be right there an all.
If this isn't possible I would like to see if another thing is possible
I have a long script (*since no other commands fit what I needed so I had to use the same 2, it is really... specific to say the least lol.*) so anyhow, I want to see if I can possibly loop a function, that is looped? if that makes sense. The script itself takes like 10 seconds to complete, but I do it 6 times a minute, for an hour or so at a time. I want to add a Wait() function to it, without removing the loop, and every like 5 minutes it does something, like stops the thing, and starts it again? Maybe temp stops it. I don't know how it works because I am new with it~
Thanks for any possible help, I greatly appreciate it
Hello. I am rather new to the macro keybind mod. I am attempting to do something rather odd and I would like help with it if anyone can offer it.
#counter= 0
FOR(#invslot,26)
getslotitem(%#invslot%,&item)
if(%&item%=="air")
inc(#counter,1)
endif;
Next;
if(%#counter% = 1)
log(&4&lput autocrafting here)
endif;
Next;
if(%#counter% = 0)
slotclick(27,r,true)
wait(500ms)
press(escape)
endif;
okay this is kind of what I have. Let me now explain what I want to do.
What I want to do is this; I play on a server where the inventory is bigger, your inventory can have an enderchest open in it if needed pretty much so it's the same GUI as an enderchest would be I guess lol. I want to detect when the last slot of the enderchest (slot 26) is filled, when it is filled, I want to do an action, say I go from my enderchest and I want it to autocraft an item, but I don't need to move my yaw or anything because the crafting table would be right there an all.
If this isn't possible I would like to see if another thing is possible
I have a long script (*since no other commands fit what I needed so I had to use the same 2, it is really... specific to say the least lol.*) so anyhow, I want to see if I can possibly loop a function, that is looped? if that makes sense. The script itself takes like 10 seconds to complete, but I do it 6 times a minute, for an hour or so at a time. I want to add a Wait() function to it, without removing the loop, and every like 5 minutes it does something, like stops the thing, and starts it again? Maybe temp stops it. I don't know how it works because I am new with it~
Thanks for any possible help, I greatly appreciate it