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

EvalDIAttribute

From AGEWiki

Revision as of 11:47, 13 May 2010 by Lodilefty (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

EvalDIAttribute

Syntax  

EvalDIAttribute = Fac2; Attribute; RelOp; AttValue; Duration; RelOp; DuValue
                  or
                = Fac2; Attribute; RelOp; Value

Description

Checks all Diplomatic Initiatives ?????? which exist between two factions for the existence of a certain Attribute and, optional, for how long the DI is in place.

Example  

EvalDIAttribute = GBR;*military*;<=;*military|2;Duration;<=;6

TRUE if the GBR faction has Military attribute <=2 in place for <= 6 months ??????  

EvalDIAttribute = GBR;*military*;<=;2

TRUE if the GBR faction Military attribute has a value <= 2

 

Parameters

Fac2

Valid FactionTag

Attribute;

Valid Attribute

RelOp;

One of

=, <, >, <=, >=, <>
AttValue or Value

Attribute value or postitive integer

Depends on which syntax is used (see examples)
Duration;

Literal keyword

RelOp;

One of

=, <, >, <=, >=
DuValue

Duration value in months

Positive integer
Forums