I am a bit stumped on this. I am trying to have the script look at a list and if there isn't anything in the pack from that list, it goes to one sub, if there is, then it goes to a different sub
sub breakortoss
  finditem %garbage C_ , #Backpackid
  if findcont =< 0
     {
      gosub breakstuff
     }
   else gosub clearpackgarbage
return
I have not tested this as I am sure it is wrong but my mind is rusty and I could use some help.