I've noticed not using braces in a multi-line condition gives errors. In case that would've been the problem, the fix at it's simplest form would be (in addition to the wrong captalization of the character script name):
if (player.HasInventory(iKey)) cGuyAtSchool.Say("You will understand...in time");
But if that doesn't work for a reason or another, then it's
if (player.HasInventory(iKey)) {
cGuyAtSchool.Say("You will understand...in time");
} else {
as said before.
if (player.HasInventory(iKey)) cGuyAtSchool.Say("You will understand...in time");
But if that doesn't work for a reason or another, then it's
if (player.HasInventory(iKey)) {
cGuyAtSchool.Say("You will understand...in time");
} else {
as said before.