Well, your script is very specific to the units you have created, so it's hard to test it.
Two remarks, though :
1) There is no question mark each time you test the number of "rmor" :
(count crew rmor > 2) or (getdammage rmor < 0.6):goto "killrmor"
(count crew rmor < 2) or (getdammage rmor > 0.6):goto "killbmp"
should be :
? (count crew rmor > 2) or (getdammage rmor < 0.6):goto "killrmor"
? (count crew rmor < 2) or (getdammage rmor > 0.6):goto "killbmp"
2) What happens when crew rmor is equal to 2 ? Shouldn't you add a "=" somewhere ?