chose data form string that was send by Bluetooth

Hi Dear
I would like to send data like with Bluetooth by serial port. My data must be like s10b5c80e. I want to check if the first data is 's' and 2nd data is 10, then turn on pin 13. my code is there.... please help me

char  val1;
int val2;


void setup() {
  Serial.begin(9600);
  pinMode(13, OUTPUT);
}

void loop() {
  while (Serial.available() == 0) ;  // Wait here until input buffer has a character
  {
    val1 = (char)Serial.read();
    val2 = Serial.parseInt();


  }


  if (val1 != 's') {
    switch (val2) {
      case 1:              // UP
        digitalWrite(13, HIGH);
        delay(5000);

        break;
      case 0:               // DOWN
        digitalWrite(13, LOW);
        delay(1000);
        break;
    }
  }
}

Get rid of the gotos, then we can talk.