What are the rules? When 13 goes on, 14 should be switched off, no matter what its previous state was? Any more rules? If this is the only rule, then the code below will do this.
Adriansalguero:
i would like to do an exemple pleaseee
if( (readString.indexOf("Led14=On") > 0) && (digitalRead(PinLed13) == LOW) )
{
digitalWrite(PinLed14,HIGH); //only happens if LED 13 is currently turned off
}