- Documentation
- Server functions
- copyAccountData
Function
copyAccountData
Copies all data from one account to another.
Syntax
bool copyAccountData(account theAccount, account fromAccount)Arguments
theAccountaccount- The target account.
fromAccountaccount- The source account.
Returns
true on success.
Example
copyAccountData(getAccount("nowe_konto"), getAccount("stare_konto"))