try thisGohan43331
NPC Code:
// Example:
if (playertouchsme) {
if (strequals(#c,balance)) {
say2 Greetings. Your balance is: #v(strtofloat(brbank));
}
tokenize #c;
if (tokenscount==2&&strequals(#t(0),deposit)&&playerr upees>=strtofloat(#t(1))&&strtofloat(#t(1))>0) {
this.brbanktemp=strtofloat(#s(brbank))+strtofloat( #t(1));
playerrupees-=strtofloat(#t(1));
setstring brbank,#v(this.brbanktemp);
say2 Deposited #t(1) gralats.#bBalance is now #v(strtofloat(#s(brbank)));
}
}