Found out a couple of things, it is cutting bones but not at the end of the script after it pulls the chest but while it is fishing. It also cuts up all bone piles but one. In some ways it is cool that it is cutting them up while fishing but it means that I wrote something wrong because it is doing the sub before I want it to. I want it to fish up the chest. Once it recognizes that the chest is fished up, I want it to cut up any and all bone piles in my bag. I put in a scan for bones in the backpack and it was working and that is how I verified that it was doing it during the fishing. Part of my scan was a display that would say we have bones if there were bones in the back pack. my scan-sub is this:
sub scan_bones
scan #backpackid
Finditem %cuttypes C_ , #backpackid
if #findcnt >= -1
{
display We Have Bones!
gosub cut_bones
}
return
;---------
I am not sure if that is correct or not but it seems to be working. Also can someone explain this to me?
if #findcnt >= -1
I am not sure what the -1 means