1. I did not put weight trigger because I have my bots set to go back for auto buying and selling once they run out of potions and fly wings. Which is why I'm trying to get the macro to trigger as soon as I get to town.
2. Trying to get checkZeny to work. I'm able remove that line and simply do add z "amount," but is there a way to leave at least 50k - 100k on my farming bots so that they have enough money to auto-buy what they need?
3. I've been able to successfully add numerous amounts of items. Can anyone clarify if it's possible to just keep adding the same item like composite bow, wooden mail, knife until there are none left to trade without having to add multiple lines of the do deal add @inventory?
I have left a couple notes after "#" next to the code.
Code: Select all
automacro moveToMaster { #How can I trigger the macro to run as soon as my bot goes back to town (dies / uses butterfly wing)
location #where my merchant is sitting
call {
do autosell
do autobuy
do conf lockMap
do conf lockMap_x
do conf lockMap_y
do move payon
}
run-once 1
}
automacro dealToMaster {
location #where my merchant is sitting
call {
do deal @player
pause 3
macro checkZeny { #not sure if this is working correctly
switch ($.zeny) {
case (> 200000) {
do deal add z 100000 #any way to deal all zeny and just leave at least 100k on my farmer?
pause 1
do deal add @inventory(Hood [1]) #How can I add hood until I have none left without repeating the code?
pause 1
do deal
pause 1
do deal
}
run-once 1
}
automacro moveToFild { #where my bots are farming
console /Deal Complete/i
call {
do conf lockMap
do conf lockMap_x none
do conf lockMap_y none
do move
do reload mac
}
}