
12-30-2005, 10:28 PM
|
|
Script-fu
|
 |
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
|
|
Hey, look!- Tokenize the chat text (#c) before you check startswith(), that way you can jump into strequals(#t(0),foo)) and work with strtofloat(#t(1)) or whatever.
- Stop using playerrupees = playerrupees... and start using playerrupees +=, etc.
- Make sure that any amounts given to the bank script are above 0. We don't want negative values, now, do we?
- Stop setting unnecessary client strings (i.e. clientr.deposit).
|
__________________
|
|
|
|