| version 1.9 | | version 1.10 |
|---|
| | |
| | | |
| elif text[0] == 'deposit': | | elif text[0] == 'deposit': |
| if len(text)==2: | | if len(text)==2: |
| if (CFPython.PayAmount(activator, (int(text[1])*exchange_rate)*fees)): | | if (CFPython.PayAmount(activator, int((int(text[1])*exchange_rate)*fees))): |
| bank.deposit(activatorname, int(text[1])) | | bank.deposit(activatorname, int(text[1])) |
| message = '%d received, %d imperials deposited to bank account. %s' \ | | message = '%d received, %d imperials deposited to bank account. %s' \ |
| %((int(text[1])*(exchange_rate/50))*fees,int(text[1]),random.choice(thanks_message)) | | %((int(text[1])*(exchange_rate/50))*fees,int(text[1]),random.choice(thanks_message)) |