FutureProg functions

giveresource

Chargencomputer function, computer program, standard futureprog

giveresource overload 1

Number giveresource(Toon character, Text resource, Number amount)
Available in
  • computer function
  • computer program
  • standard futureprog
This function gives (or takes if you use a negative number) a specified amount of chargen resource (Karma, RPP, BP, etc) to an account. It returns the new amount of resource that account has after the change.
ParameterTypeDescription
character Toon The character whose account should get the resources
resource Text The resource to give that account
amount Number The amount of resource to give