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

EvalRuler

From AGEWiki

(Difference between revisions)
Jump to: navigation, search
(Created page with '{{ scriptcommand | name =EvalRuler | type = | cat = | syntax =<RulerUID> [;<Position>] [<;NOT>] | description =Test if a ruler (or PM) is present at the head of the nation. | exa…')
 
Line 3: Line 3:
| type =
| type =
| cat =
| cat =
-
| syntax =<RulerUID> [;<Position>] [<;NOT>]
+
| syntax =<RulerUID> ;<Position> [<;NOT>]
| description =Test if a ruler (or PM) is present at the head of the nation. | example =
| description =Test if a ruler (or PM) is present at the head of the nation. | example =
| example-description =  
| example-description =  
Line 10: Line 10:
| param1 =<RulerUID>  
| param1 =<RulerUID>  
| param1desc = Valid [[Alias]] of a Ruler
| param1desc = Valid [[Alias]] of a Ruler
-
| param2 =[;<Position>]
+
| param2 =;<Position>
| param2desc = Integer
| param2desc = Integer
:Position (office held) can be either:  
:Position (office held) can be either:  

Latest revision as of 16:18, 28 September 2010

EvalRuler

Syntax  

EvalRuler = <RulerUID> ;<Position> [<;NOT>]

Description

Test if a ruler (or PM) is present at the head of the nation.



 

Parameters

<RulerUID>

Valid Alias of a Ruler

<Position>

Integer

Position (office held) can be either:
-1 is any position
0 is the position of the head of state in VGN.
1 is the PM in VGN.
[<;NOT>]

Reverses logic (returns "True" if leader is not in the position specified)

Forums