Contents
Support Managers
|
shorty McKeenan
English
| online |
|
Xartashah
English
| online |
|
Aerielle Kiyori
English
| offline |
|
Alexander Pixels
English
| offline |
|
Amyalka
English
| offline |
|
Glaznah Gassner
English, Russian
| offline |
|
Justina Mcminnar
English
| offline |
|
Makaylah Wurgle
English
| offline |
|
Rehnaeaislinn
English
| offline |
|
Sammyredfire
English
| offline |
| show offline managers | |
| English, Russian |
give_money (SBSL Command)
Main > Bot Scripting Language > Give money (SBSL Command)
| SBSL Commands |
Have a question? Ask at SmartBots DevPortal!
DevPortal is a blog and forum for developers. Ask your questions to get a prompt reply!
Sends the money to specific resident.
Syntax
give_money RESIDENT-UUID AMOUNT PAYMENT-COMMENT
Command parameters
The following table explain the entries of the command:
| Entry | Description |
|---|---|
| RESIDENT-UUID | the resident UUID to pay to |
| AMOUNT | the amount of L$ to pay |
| PAYMENT-COMMENT | the optional comment to add to transaction history |
Example
The following script accepts the money transactions from other residents, and immediately pays them back:
balance_changed { im $source Thank you for your kind payment. However, I have to return the money back to you! give_money $source $amount Returning your payment }