sell bags
Posted: Sun Sep 14, 2014 5:11 am
Hi
i have downloaded latly a wpt file with this sell scrpit it has a config on the begining
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?
i have downloaded latly a wpt file with this sell scrpit it has a config on the begining
Code: Select all
<!-- 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