<!-- FUNCTION SELL PNJ -->
function selling()
if sellright == true
then
player:openStore(117127)
if sellbag1 == true
then RoMScript("Sellslots1()")
yrest(1000)
end
if sellbag2 == true
then RoMScript("Sellslots2()")
yrest(1000)
end
if sellbag3 == true
then RoMScript("Sellslots3()")
yrest(1000)
end
if sellbag4 == true
then RoMScript("Sellslots4()")
yrest(1000)
end
if sellbag5 == true
then RoMScript("Sellslots5()")
yrest(1000)
end
if sellbag6 == true
then RoMScript("Sellslots6()")
yrest(1000)
end
Mcountround()
if End == 1
then
player:sleep();
end
else
Rightbag = Rightbag+1;
if End == 1
then
player:sleep();
end
end
end
i want 2 create another wpt file that uses this sell comand but thous Mcountround() and Rightbag are not needed. My question is how to edit this sell code and how 2 make the bot sell items when my bags are full with it?
So you don't want to use the bot sell function but just want to use those Sellslotsn() functions from the addon? Did you try just deleting those lines with Mcountround() and Rightbag in them?
Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
rock5 wrote:So you don't want to use the bot sell function but just want to use those Sellslotsn() functions from the addon? Did you try just deleting those lines with Mcountround() and Rightbag in them?
yes i want 2 use the function. I did delet the lines its sell items if I execute just the sell script. The bot don't know when 2 go 2 the merchant, it does not count how many free space is left, the previous script had the Mcountround() and Rightbag conected 2 the sell function.