You are here: start » ppl » statements » pcbaccount

PCBACCOUNT(INTEGER field)

PCBACCOUNT(INTEGER field)

Returns what PCBoard will charge a user for a certain activity. These are values the SysOp assigns in PCBsetup when accounting is configures and enabled.
Example:

	println "You will be charged ",PCBACCOUNT(CHRG_CHAT)," for chat"

Valid values for the field paramter are 0-14. Use of the corresponding constants is encouraged. (see the Accounting section)
See also: Accounting Account RecordUsage PcbAccStat

ppl/statements/pcbaccount.txt · Last modified: 2019/04/16 14:00
CC Attribution 4.0 International Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution 4.0 International