FutureProg functions

takecurrency

Currency · computer function, computer program, standard futureprog

Boolean takecurrency(Currency currency, Number amount, Character from, Boolean useget, Boolean givechange)
Contexts: 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.
currency: The currency that you want to take
amount: The amount that you want to take
from: Who or what you want to take it from
useget: Whether to use the get rules (i.e. don't take from locked containers etc)
givechange: Whether to give change or not

Boolean takecurrency(Currency currency, Number amount, Item from, Boolean useget, Boolean givechange)
Contexts: 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.
currency: The currency that you want to take
amount: The amount that you want to take
from: Who or what you want to take it from
useget: Whether to use the get rules (i.e. don't take from locked containers etc)
givechange: Whether to give change or not

Boolean takecurrency(Currency currency, Number amount, Location from, Boolean useget, Boolean givechange)
Contexts: 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.
currency: The currency that you want to take
amount: The amount that you want to take
from: Who or what you want to take it from
useget: Whether to use the get rules (i.e. don't take from locked containers etc)
givechange: Whether to give change or not

Boolean takecurrency(Currency currency, Text amount, Character from, Boolean useget, Boolean givechange)
Contexts: 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.
currency: The currency that you want to take
amount: The amount that you want to take
from: Who or what you want to take it from
useget: Whether to use the get rules (i.e. don't take from locked containers etc)
givechange: Whether to give change or not

Boolean takecurrency(Currency currency, Text amount, Item from, Boolean useget, Boolean givechange)
Contexts: 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.
currency: The currency that you want to take
amount: The amount that you want to take
from: Who or what you want to take it from
useget: Whether to use the get rules (i.e. don't take from locked containers etc)
givechange: Whether to give change or not

Boolean takecurrency(Currency currency, Text amount, Location from, Boolean useget, Boolean givechange)
Contexts: 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.
currency: The currency that you want to take
amount: The amount that you want to take
from: Who or what you want to take it from
useget: Whether to use the get rules (i.e. don't take from locked containers etc)
givechange: Whether to give change or not

← Back to FutureProg functions