Quote:
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 ;
}
|
Ok let me see , This script would mean
If the player touches the npc and the varible is equal the the amount of ruppees , if the varible is equal to 0 then say You have no gralats , if the varible is equal to 1 then the message is You have 1 gralat, if the varible is greater then 2 message is You have (then i dont know what #v is) the amount the varible is gralets. then sleep for 3.4 secs and the message is nothing...
Am i right?
[edit] Could someone also give me more examples of things with myvar stuff in them?? I want to get this section in scripting down before i go to this.var stuff... [/edit]