That fixed its first complaint, tyvm, and just as i expected I am really bad at this. Now the program will attack once, then lock up expecting a boolean string on line 3.
edit:
i rewrote this pos, and now it does half of what i want, with no errors. It just attacks and never does the restone...