View Single Post
  #15  
Old 04-14-2002, 07:04 AM
Googi Googi is offline
A Serious Epidemic
Googi's Avatar
Join Date: Oct 2001
Location: Canada
Posts: 18,866
Googi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud of
Send a message via AIM to Googi
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.
__________________
Reply With Quote