SetQuotaTarget

From Catglobe Wiki
Jump to: navigation, search



setQuotaTarget

Sets the target to a non-decimal new value for a quota.

Syntax

setQuotaTarget(quota, new_target)

Arguments

quota: Is a string expression.

new_target: Is an expression of number type, new_target must not be a decimal value.

Return type

empty

Examples

//set the target of quota male to 50

setQuotaTarget("male", 50);

Availability

Version 4.8