Quote:
Originally posted by adam
Sure you could do it that way. But you wouldn't be able to do things like, sort through them all and figure out what's where. Or automatically sort through them and check for empties and delete them. Or add interest automatically. Or easily list all the accounts in the bank and the total cash in the bank.
The accounts themselves are all in separate strings, it's just thier names that are in the one string. So the Bank npc can easily see what accounts it manages.
|
you could do
bankaccount_0=Account1,ammount in bank
bankaccount_1=asdfaccount,ammount in bank
this.flags=getflagkeys(bankaccount_);
in that example, this.flags = 0/{0,1};
i'm not sure if getflagkeys works serverside yet