Ty for your replies
Dissassemble Materials
Re: Dissassemble Materials
Ok I dit that before but it's not work . I have this message
xxx\xxx\xxx\xx\/bot.lua:688: No waypoints to go to waypoint file.
Ty for your replies
Ty for your replies
Re: Dissassemble Materials
That message means it finished the code in the onload section. That should only happen when you run out of the itemname.
- 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.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: Dissassemble Materials
haa coool probleme with my native language, so I put in english and it's ok, thank you very much ! 
-
spyfromsiochain
- Posts: 84
- Joined: Sun Aug 18, 2013 9:57 am
Re: Dissassemble Materials
For several mats in a job:
Code: Select all
<waypoints type="TRAVEL">
<onLoad>
itemname1 ="Maple Plank"
itemname2 ="Oak Plank"
itemname3 ="Pine Plank"
itemname4 ="Holly Plank"
RoMScript("CloseAllWindows()") -- Don't want to accidentaly sell stuff!
while inventory:getItemCount(itemname1) > 0 do
for i, item in pairs(inventory.BagSlot) do
if item.Name == itemname1 then
item:use() -- Breaks it up
yrest(2000)
end
end
end
while inventory:getItemCount(itemname2) > 0 do
for i, item in pairs(inventory.BagSlot) do
if item.Name == itemname2 then
item:use() -- Breaks it up
yrest(2000)
end
end
end
while inventory:getItemCount(itemname3) > 0 do
for i, item in pairs(inventory.BagSlot) do
if item.Name == itemname3 then
item:use() -- Breaks it up
yrest(2000)
end
end
end
while inventory:getItemCount(itemname4) > 0 do
for i, item in pairs(inventory.BagSlot) do
if item.Name == itemname4 then
item:use() -- Breaks it up
yrest(2000)
end
end
end
</onLoad>
</waypoints>I look at those fans with no blades and it amazes me everytime, how can they push air without using blades lol - lisa (pro sentence
)