Thread: Scripting Help
View Single Post
  #5  
Old 08-19-2001, 03:09 PM
Cybnext_Design Cybnext_Design is offline
Registered User
Join Date: Jun 2001
Posts: 244
Cybnext_Design is on a distinguished road
Send a message via AIM to Cybnext_Design
Nevermind...that script end up not working all the time, i had my bank account set at 999900 and it displayed 1998900.

Could you maybe tell me what is wrong?
here is what i did with the scrip that you gave me.

NPC Code:

baccount=strtofloat(#s(bankaccount));
baccount1=int((baccount/1000000-(baccount/1000000)%1)%10);
baccount2=int((baccount/100000-(baccount/100000)%1)%10);
baccount3=int((baccount/10000-(baccount/10000)%1)%10);
baccount4=int((baccount/1000-(baccount/10000)%1)%10);
baccount5=int((baccount/100-(baccount/100)%1)%10);
baccount6=int((baccount/10-(baccount/10)%1)%10);
baccount7=int((baccount/1-(baccount/1)%1)%10);

__________________
Graal2001 NPC Maker
Frolic Owner
Aim: C Y B N E X T
Reply With Quote