ok, here is the corrected version!
NPC Code:
if (playerchats) {
tokenize #c;
if (strequals(#c,Donate #t(1)) && strequals(#t(1),#v(strtofloat(#t(1)))) && strtofloat(#t(1))>0 && playerrupees>=strtofloat(#t(1))) {
playerrupees-=strtofloat(#t(1));
rupees+=strtofloat(#t(1));
}
if (strequals(#c,Withdraw #t(1)) && strequals(#t(1),#v(strtofloat(#t(1)))) && strtofloat(#t(1))>0 && rupees>=strtofloat(#t(1))) {
if (strequals(#a,SupersonicII)) { //Change this line to your account name
playerrupees+=strtofloat(#t(1));
rupees-=strtofloat(#t(1));
}else{
say2 Your account (#a) is not #bauthorized to withdraw!;
}
}
}