ok first off, playersays is a very stupid command, strequals() actually has uses!!! also you did this playerrupees=playerrupees-2500 thats way to long try playerrupees-=2500 its a better operator for a better graal

. like:
NPC Code:
playerrupees-=2500;
// is to
playerrupees=playerrupees-2500;
playerrupees+=2500;
// is to
playerrupees=playerrupees+2500;
playerrupees*=2500;
// is to
playerrupees=playerrupees*2500;
// also the more than or equal to and less than or equal to look like this;
if (this.i>=0) commands;
if (this.i<=0) commands;
// Better version:
if (playerchats&&strequals(#c,buy stonewand)&&playerrupees>=2500) {
playerrupees-=2500;
hidelocal;
}
// also the following tw things are the same (because it checks to see if its equal):
if (strequals(#c,buy stonewand)) commands;
if (strequals(buy stonewand,#c)) commands;
// just as these two are the same:
this.i = 1;
this.j = 1;
if (this.i==this.j) commands;
if (this.j==this.i) commands;
// 