SyntaxFix
Write A Post
Hire A Developer
Questions
Try:
while [ $stats -gt 300 -o $stats -eq 0 ]
[ is a call to test. It is not just for grouping, like parentheses in other languages. Check man [ or man test for more information.
[
test
man [
man test