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)
(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> | + | | 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 = | + | | 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
Valid Alias of a Ruler
Integer
Reverses logic (returns "True" if leader is not in the position specified) | ||