>= mean "more than or equals to". You don't want to use "equals to 59" because what happens if between checks it jumps to 60 and stays at 60?
I tried this and set it to;
function bagcheck()
if inventory:itemTotalCount(0) >= 59 then
sendMacro("LeaveParty();");
waitForLoadingScreen();
yrest(3000)
player:update();
changeProfileOption("LOOT", false)
__WPL:setWaypointIndex(__WPL:findWaypointTag("rerun"));
end
but by doing this it didn't leave party, and even at 60/60 it didn't leave the party, it just did the instance over and over again w/o selling.
I tried and changed so much, and I can't get it to work /:
I need to change the numbers in;
function bagcheck()
if inventory:itemTotalCount(0) == 0 then
sendMacro("LeaveParty();");
waitForLoadingScreen();
yrest(3000)
player:update();
changeProfileOption("LOOT", false)
__WPL:setWaypointIndex(__WPL:findWaypointTag("rerun"));
end
or here
if inventory:itemTotalCount(0) == 0 then -- make sure to get pet xtras
player:merchant("Pancer");
yrest(100);
end
And after some tries the bot now leave party at 2 >= , but when it comes and shall sell items at Pancer the bot shut down the waypoint/script.. What to do now? /:
function bagcheck()
if 2 >= inventory:itemTotalCount(0) then
sendMacro("LeaveParty();");
waitForLoadingScreen();
yrest(3000)
player:update();
changeProfileOption("LOOT", false)
__WPL:setWaypointIndex(__WPL:findWaypointTag("rerun"));
lisa wrote: if you mess up and it no longer works then just redownload the one I posted and try again
I also have melee version posted that has been changed to loot, it's on my ks strategies topic, you could take a look at that 1.
To give you an idea of what I am trying to say think of it this way.
My car doesn't work, can you fix it for me?
There could be a million things wrong with your car, I need more information to fix it for you.
It has a rattle.
Does it rattle all the time or just sometimes?
Does it sound like a loud rattle or a quiet rattle?
Does the rattle sound like it is coming from inside the car or outside the car?
most of the time.
quiet rattle
inside the car
Check your console for your girlfriends big ugly earrings that she probably left in there.
yep that was it..
Remember no matter you do in life to always have a little fun while you are at it