sub main()
aaa:
while UO.count("shafts") > 0
UO.waittargettype("shafts");
UO.exec("addobject 'shaft'");
UO.exec("grab 1 shaft");
UO.waitmenu('What', 'Arrow');
UO.waittargettype("feathers");
UO.useobject("shaft");
UO.print(STR(UO.count("shafts"))+" left");
wait(2000);
wend
goto aaa
end sub