Quote:
Originally posted by konidias
NPC Code:
set ownsmine;
if (playerchats && strequals(#c,rent mine 1) && playerrupees>=5) {
if (mine.onea==0 && ownsmine){
say2 You already have a mine!;
}
}
Tada, this works.. just need to put "else" in front of the if and remove the set ownsmine; line.
|
Nope, doesn't work.
As for the debugger, I used Koni's script, put it into the debugger, put the breaks beside them and then here's what happened.
Well, first it pauses the game, then in the dubugger it had the first line blue, I hit next, and the 2nd line turned blue, then I hit next again and the 5th line turned blue.