Thread: Variables
View Single Post
  #5  
Old 02-27-2002, 04:30 AM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
Quote:
Originally posted by TDK_RC6

NPC Code:

if (playertouchsme) {
myvar=playerrupees;
if (myvar==0) {
message You have no gralats;
}
if (myvar==1) {
message You have 1 gralat;
}
if (myvar>=2) {
message You have #v(myvar) gralats;
}
sleep 3.4;
message ;
}



NPC Code:

NPC Code:

if (playertouchsme) {
for (i=0;i<playerrupees;i++) {
message I gots #v(i) cash monies!
}
}





I know you can do that, I just wanna confooze him ...
Reply With Quote