well i have a donation tyhing put it isnt working good i will take a screenie and show u all (here is the script) (it is a donation box)
NPC Code:
if (playerchats) {
if (startswith(/donate,#c)) {
tokenize #c;
if (tokenscount==2 && strequals(#t(0),/donate)) {
if (strtofloat(#t(1))>0 && strtofloat(#t(1))<=playerrupees) {
playerrupees -= strtofloat(#t(1));
setstring server.donation,#v(strtofloat(#s(server.donation))
+strtofloat(#t(1)));
}
else setplayerprop #c,Wrong values.;
}
}
if (strequals(#c,/take donation)) {
if (strequals(#a,#s(server.player))) {
playerrupees += strtofloat(#s(server.donation));
setstring server.donation,0;
}
}
}
if (created || timeout) {
showtext 0,x+1,y-0.5,Arial,bc,Current Donated: #s
(server.donation);
changeimgzoom 0,0.6;
changeimgvis 0,2;
timeout = 0.05;
}