Due to a sudden burst in spammer activity, account creation has been temporarily disabled. Sorry for the inconvenience to any new potential contributors.

EvalContentment

From AGEWiki

(Difference between revisions)
Jump to: navigation, search
(Created page with "{{ scriptcommand | name = EvalContentment | syntax = <Operator>;<Value>[;ALL] | description = Evaluate Contentment for the current faction in the current selected region or i...")
 
Line 1: Line 1:
{{ scriptcommand
{{ scriptcommand
| name = EvalContentment
| name = EvalContentment
-
| syntax = <Operator>;<Value>[;ALL]
+
| syntax = <Operator>;<Value>[;ALL][;NOT]
| description = Evaluate [[Contentment]] for the current faction in the current selected region or in all National Regions with the optional parameter ALL.
| description = Evaluate [[Contentment]] for the current faction in the current selected region or in all National Regions with the optional parameter ALL.
| example = <=;12;ALL
| example = <=;12;ALL
Line 11: Line 11:
| param3 = ALL
| param3 = ALL
| param3desc = An average of the National territory value is used
| param3desc = An average of the National territory value is used
 +
| param4 = NOT
 +
| param4desc = Reverse the result (only useful for DICE, otherwise reverse the operator instead, it will be clearer)
}}
}}

Latest revision as of 09:14, 4 March 2011

EvalContentment

Syntax  

EvalContentment = <Operator>;<Value>[;ALL][;NOT]

Description

Evaluate Contentment for the current faction in the current selected region or in all National Regions with the optional parameter ALL.

Example  

EvalContentment = <=;12;ALL

TRUE if Contentment is less than or equal to 12, on average, in national territory.


 

Parameters

<Operator>

One of: =, <, >, <=, >=, DICE

<Value>

Integer (1-100)

ALL

An average of the National territory value is used

NOT

Reverse the result (only useful for DICE, otherwise reverse the operator instead, it will be clearer)

Forums