bash syntax error: command not found

I am trying to create a shell that asks the user to enter their name, and compare it to my own by saying we have the same name or saying my name and that they have a nice name too. Here is my script...

#!/bin/bash-x
echo "Enter your name".
read name
if [$name -e Adam]
then
echo "My name is Adam too"
else
echo "My name is Adam; You have a nice name too"
fi

When I execute the script, I get...

Enter your name.
Adam
Part4: line 5: [name: command not found
My name is Adam; You have a nice name too

Any help would be greatly appreciated.

Add space after [ and before ].