Change Power Level Xbee (series1)

Ok that's still not working...
This is the code that I'm using now:

void setup ()
{
  Serial.begin(9600);
  
  Serial.print("+++");
  delay(3000);
  if(Serial.read()=='OK'){
  Serial.println("ATPL");
  delay(1000);
  if(Serial.read()>=3){
  Serial.println("ATPL 2");
  delay(1000);
  Serial.println("ATPL");
  }
  }
}

void loop ()
{
  
}

But I'm still note receiving the "OK" from the command "+++", and not receiving too the return of ATPL.
I listened to the returns too like you said. I really don't now what to do to this works.