Well, now the script is this...
NPC Code:
else if (playerchats&&strequals(#c,rent mine 1)) {
if (ownsmine) {
say2 You already own a mine
}
}
And of course, it doesn't work
On the debugger, all the red lines turn blue (in sequence with the hitting of the run button of course)