and how would i get help without a full script posted? anyway, il;l cut some out of this then :P
NPC Code:
if(created)
{
setshape 1,64,32;
}
if(playerchats)
{
if(strequals(#c,balance))
{
setplayerprop #c,Balance: #s(clientr.balance);
}
if(startswith(deposit,#c))
{
setstring clientr.deposit,#T(#e(7,-1,#c));
if(playerrupees>=strtofloat(#s(clientr.deposit)))
{
setstring clientr.balance,#v(strtofloat(#s(clientr.balance)) +strtofloat(#s(clientr.deposit)));
playerrupees=playerrupees-strtofloat(#s(clientr.deposit));
setplayerprop #c,Deposited #s(clientr.deposit);
}
}
if(startswith(withdraw,#c))
{
setstring clientr.withdraw,#T(#e(9,-1,#c));
if(strtofloat(#s(clientr.withdraw))<=strtofloat(#s (clientr.balance)))
{
setstring clientr.balance,#v(strtofloat(#s(clientr.balance))-strtofloat(#s(clientr.withdraw)));
playerrupees=playerrupees+strtofloat(#s(clientr.wi thdraw));
setplayerprop #c,Withdrew #s(clientr.withdraw);
}
}
}
//some stuff removed here 