arduino keyboard passwod

i have a problem getting a keyboard password script i have made can some one help me with it

this is the script im using

#define RELAY_PIN 13

void setup()

{

pinMode(RELAY_PIN, OUTPUT);

Serial.begin(9600); // open serial

Serial.println("Slide card to Open And Close ");

}

void loop()

{

static int relayVal = 0;

int cmd;

while (Serial.available() > 0)

{

cmd = Serial.read();

switch (cmd)

{

char* allowedTags =

{

“;60058544012617270=9904?”, // Tag 1

};

char* tagName =

{

“log”, // Tag 1

};

{

if (allowedTags);

relayVal ^= 1; // xor current value with 1 (causes value to toggle)

if (relayVal)

Serial.println(“Open”);

else

Serial.println(“Locked”);

break;

}

{

Serial.println(“Slide card to open and close”);

}

}

if (relayVal)

digitalWrite(RELAY_PIN, HIGH);

else

digitalWrite(RELAY_PIN, LOW);

}

}