<[ Delph Inc. ]>
Thanks for posting that script...I wouldn't have known what to do because I'm hopeless with '%', I wouldn't have a clue what to do with it. Same with a few other little symbols...Like...I know it get the remainder of a/b but I just don't know where it could fit in because it's hard to understand how it would get a number you actually want every time...just like the bank script from Liquid.
The only way around I had was this:
NPC Code:
this.rupeecount1=int(playerrupees/1000000);
this.rupeecount2=int((playerrupees-this.rupeecount1*1000000)/100000);
this.rupeecount3=int((playerrupees-(this.rupeecount1*1000000)-(this.rupeecount2*100000))/10000);
this.rupeecount4=int((playerrupees-(this.rupeecount1*1000000)-(this.rupeecount2*100000)-(this.rupeecount3*10000))/1000);
this.rupeecount5=int((playerrupees-(this.rupeecount1*1000000)-(this.rupeecount2*100000)-(this.rupeecount3*10000)-(this.rupeecount4*1000))/100);
this.rupeecount6=int((playerrupees-(this.rupeecount1*1000000)-(this.rupeecount2*100000)-(this.rupeecount3*10000)-(this.rupeecount4*1000)-(this.rupeecount5*100))/10);
this.rupeecount7=int((playerrupees-(this.rupeecount1*1000000)-(this.rupeecount2*100000)-(this.rupeecount3*10000)-(this.rupeecount4*1000)-(this.rupeecount5*100)-(this.rupeecount6*10)));
It works fine but only allows '9999899' and it's too long for my liking...the other way should probably make this system script a bit shorter.
Well...
this isn't the system script...The system script is quite a bit larger...this is only the rupee part...I had a screenshot but when I uploaded it...it practically chewed half the image up...honestly...you would be impressed for it coming from an only average scripter.
I'll try get the screen now.
</[ Delph Inc. ]>[