you can also use
if (player.account == "Graal780973") { above your if statements,
instead of repeating
if (... && player.account == "Graal780973") { for every if condition you make that is "account locked".
e.g;
PHP Code:
if (player.account == "acc") {
if (player.chat == "something") { // only "acc" can call doStuffs(); by saying "something"
doStuffs();
}
if (player.chat == "stuff") { // same here
doOtherStuffs();
}
}