-
Hello ! Any help would be greatly apreciated. |
Beta Was this translation helpful? Give feedback.
Answered by
WhoTho
Aug 31, 2021
Replies: 1 comment
-
Hey! I hope this code helps bot.on("windowOpen", (window) => { |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
tascord
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey!
I hope this code helps
bot.on("windowOpen", (window) => {
console.log("window open");
//console.log(window) if you want to see the info of the window thats up
bot.clickWindow(9, 1, 0); //slots start with the number 0 and 1 is for right click https://wiki.vg/Protocol#Click_Window
});