FutureProg functions
takecurrency
Overload 1
takecurrency overload 1
Boolean takecurrency(Currency currency, Number amount, Character from, Boolean useget, Boolean givechange)
Available in
- computer function
- computer program
- standard futureprog
This function lets you take currency from currency piles in a room, held by a character or in an item. Returns true if it succeeds.
| Parameter | Type | Description |
|---|---|---|
currency |
Currency |
The currency that you want to take |
amount |
Number |
The amount that you want to take |
from |
Character |
Who or what you want to take it from |
useget |
Boolean |
Whether to use the get rules (i.e. don't take from locked containers etc) |
givechange |
Boolean |
Whether to give change or not |
Overload 2
takecurrency overload 2
Boolean takecurrency(Currency currency, Number amount, Item from, Boolean useget, Boolean givechange)
Available in
- computer function
- computer program
- standard futureprog
This function lets you take currency from currency piles in a room, held by a character or in an item. Returns true if it succeeds.
| Parameter | Type | Description |
|---|---|---|
currency |
Currency |
The currency that you want to take |
amount |
Number |
The amount that you want to take |
from |
Item |
Who or what you want to take it from |
useget |
Boolean |
Whether to use the get rules (i.e. don't take from locked containers etc) |
givechange |
Boolean |
Whether to give change or not |
Overload 3
takecurrency overload 3
Boolean takecurrency(Currency currency, Number amount, Location from, Boolean useget, Boolean givechange)
Available in
- computer function
- computer program
- standard futureprog
This function lets you take currency from currency piles in a room, held by a character or in an item. Returns true if it succeeds.
| Parameter | Type | Description |
|---|---|---|
currency |
Currency |
The currency that you want to take |
amount |
Number |
The amount that you want to take |
from |
Location |
Who or what you want to take it from |
useget |
Boolean |
Whether to use the get rules (i.e. don't take from locked containers etc) |
givechange |
Boolean |
Whether to give change or not |
Overload 4
takecurrency overload 4
Boolean takecurrency(Currency currency, Text amount, Character from, Boolean useget, Boolean givechange)
Available in
- computer function
- computer program
- standard futureprog
This function lets you take currency from currency piles in a room, held by a character or in an item. Returns true if it succeeds.
| Parameter | Type | Description |
|---|---|---|
currency |
Currency |
The currency that you want to take |
amount |
Text |
The amount that you want to take |
from |
Character |
Who or what you want to take it from |
useget |
Boolean |
Whether to use the get rules (i.e. don't take from locked containers etc) |
givechange |
Boolean |
Whether to give change or not |
Overload 5
takecurrency overload 5
Boolean takecurrency(Currency currency, Text amount, Item from, Boolean useget, Boolean givechange)
Available in
- computer function
- computer program
- standard futureprog
This function lets you take currency from currency piles in a room, held by a character or in an item. Returns true if it succeeds.
| Parameter | Type | Description |
|---|---|---|
currency |
Currency |
The currency that you want to take |
amount |
Text |
The amount that you want to take |
from |
Item |
Who or what you want to take it from |
useget |
Boolean |
Whether to use the get rules (i.e. don't take from locked containers etc) |
givechange |
Boolean |
Whether to give change or not |
Overload 6
takecurrency overload 6
Boolean takecurrency(Currency currency, Text amount, Location from, Boolean useget, Boolean givechange)
Available in
- computer function
- computer program
- standard futureprog
This function lets you take currency from currency piles in a room, held by a character or in an item. Returns true if it succeeds.
| Parameter | Type | Description |
|---|---|---|
currency |
Currency |
The currency that you want to take |
amount |
Text |
The amount that you want to take |
from |
Location |
Who or what you want to take it from |
useget |
Boolean |
Whether to use the get rules (i.e. don't take from locked containers etc) |
givechange |
Boolean |
Whether to give change or not |