Difference between revisions of "ForWho"

From ISXOgre
Jump to: navigation, search
(Advanced Options)
(Options)
Line 15: Line 15:
 
|-
 
|-
 
|rowspan="1"|<center>'''Class'''</center>||colspan="2"|Your Class. For example: 'guardian' - would mean only Guadians.
 
|rowspan="1"|<center>'''Class'''</center>||colspan="2"|Your Class. For example: 'guardian' - would mean only Guadians.
 +
|-
 +
|rowspan="1"|<center>'''Ascension Class'''</center>||colspan="2"|Your Class. For example: 'Elementalist' - would mean only Elementalists.
 
|-
 
|-
 
|rowspan="1"|<center>'''Subclass'''</center>||colspan="2"|Your Subclass. For example: 'Crusader' - Would mean only Shadowknight and paladins.
 
|rowspan="1"|<center>'''Subclass'''</center>||colspan="2"|Your Subclass. For example: 'Crusader' - Would mean only Shadowknight and paladins.
Line 52: Line 54:
 
|-
 
|-
 
|}
 
|}
 
  
 
=== Advanced Options ===
 
=== Advanced Options ===

Revision as of 22:26, 3 December 2017

For Who

When issuing commands to OgreBot, most commands take a 'ForWho' parameter. This is how you specify who will execute or process the request you are giving.

The most common one is 'all', meaning everyone.

Options

Command Parameter & Description
all
Everyone
g#
If you are in raid, the Group specified will do it. For example: 'g2' would mean only group 2
Class
Your Class. For example: 'guardian' - would mean only Guadians.
Ascension Class
Your Class. For example: 'Elementalist' - would mean only Elementalists.
Subclass
Your Subclass. For example: 'Crusader' - Would mean only Shadowknight and paladins.
Archetype
Your archetype. For example: 'Scout' - Would mean only scouts.
Not Archetype
Not your archetype. For example: 'NotFighter' - Would mean anyone who is not a fighter.
Melee
If I consider you melee. Refers to Fighters and Scouts.
NotMelee
Refers to not being melee. So Mages and Priests.
Casters
If I consider you a caster. Refers to Mages and Priests.
NotCasters
Refers to not being a caster. So Fighters and Scouts.
IGW:___
Stands for: In Group With. Example: 'IGW:Kannkor' - Refers to Kannkor and anyone in the group with Kannkor
IGWBN:___
Stands for: In Group With But Not. Example: 'IGWBN:Kannkor' - Refers to anyone in the group with Kannkor, but not Kannkor.
IRW:___
Stands for: In Raid With. Example: 'IRW:Kannkor' - Refers to Kannkor and anyone in the raid with Kannkor.
IRWBN:___
Stands for: In Group With But Not. Example: 'IRWBN:Kannkor' - Refers to anyone in the raid with Kannkor, but not Kannkor.
Not:___
Stands for Not:Player. Example: 'Not:Kannkor' - Refers to anyone who is not Kannkor.
Not<classification>
Stands for Not<classification>. Example: 'Not:priest' - Refers to anyone who is not a priest.
Parameters currently supported:
  • NotScout
  • NotFighter
  • NotMage
  • NotPriest
  • NotMelee (mage or priest)
  • NotCaster (scout or fighter)

Advanced Options

You can use "or" by using the delimiter |. This will split the check into multiple pieces. Where if all of the checks in a delimiter are valid, it will return true. See examples below.

You can use "and" to perform multiple checks. Prepend the check with +.

You can get the opposite value. Prepend the check with -.


  • Example 1
    • fighter|scout
      • Fighter or scout
  • Example 2
    • fighter+g1
      • Fighter in group 1 (in a raid situation)
  • Example 3
    • fighter|scout+g1
      • Fighter (doesn't matter what group) OR a scout in group 1.
        • Note: The only way to make this check for g1 for fighters or scouts is: fighter+g1|scout+g1, which would result in a fighter in g1 OR a scout in g1.
  • Example 4
    • -fighter
      • TRUE if you are NOT a fighter. FALSE if you ARE a fighter.
  • Example 5
    • -mage+-scout+-priest
      • TRUE if you are NOT a mage and NOT a scout and NOT a priest. (A really ugly way to say 'fighter').
  • Example 6
    • fighter+g1+-kannkor
      • Fighters in group 1 whom are NOT named 'Kannkor'
  • Example 7
    • all+-priest
      • Everyone except for priests. (notpriest would be easier)
  • Example 8
    • all+-kannkor+-user01+-primalz
      • Everyone except for kannkor, user01, and primalz.
  • Example 9
    • kannkor|user01|primalz
      • Only people named: kannkor|user01|primalz