1. Please read guidlines and rules
2.
NPC Code:
if (playerchats) {
tokenize #c;
if (startswith(deposit,#c)) {
this.deposit=strtofloat(#t(1));
if (this.deposit>playerrupees) this.deposit=playerrupees;
setstring bankaccount,#v(this.deposit);
playerrupees-=this.deposit;
}
}
something like this should do it