```
#!/bin/bash

while echo -n "Player's name?"
    read name
    [ $name != 'ZZZ' ]
do
    searchresult=$(grep [$name] playername)
    if [ $searchresult = 0 ]
    then
        echo -n "if See target (T/t) or team name (M/m)?"
        while [ [ $target!="T" ] || [ $team!="M" ] ]

            read team
            read target

            do
                echo "Please enter only T or M."
            done
            if $target="T"
            then
                grep [ $name ] targetselected
            else
                grep [ $name ] teamselected
            fi

    else
        echo 'no such player'
    fi

done
echo You are now exited search

```

the runtime error saying 

> 
> line 10 - if [ $searchresult = 0 ] ; have so many arguments, 
> 
> 
> 

what is that mean? how can i fix it?