View Single Post
  #1  
Old 10-10-2003, 02:05 AM
Zethar Zethar is offline
hmm
Zethar's Avatar
Join Date: May 2003
Posts: 1,452
Zethar is on a distinguished road
Send a message via ICQ to Zethar Send a message via AIM to Zethar
Really simple question :)

Ok, i'm trying to learn how to script and i'm doing something that when it happens it won't happen again.
for example.
NPC Code:

if (playerchats&&strequals(#c,Hello)){
players[index].rupees+=10;
}



It thought it might be something like this but it doesnt work
NPC Code:

if (playerchats&&strequals(#c,Hello)){
players[index].rupees+=10;
set Hello-Rupee}
if (playerchats&&strequals(#c,Hello)){
if (Hello-Rupee){message No more >:[
}
}


And whats the command for if all enemies are dead....?
__________________
hmm

Last edited by Zethar; 10-10-2003 at 02:19 AM..
Reply With Quote