Difference between revisions of "ForWho"
From ISXOgre
LittleOgress (Talk | contribs) (→For Who) |
(→For Who) |
||
Line 4: | Line 4: | ||
The most common one is 'all', meaning everyone. | The most common one is 'all', meaning everyone. | ||
− | + | === Options === | |
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
Line 52: | Line 52: | ||
|- | |- | ||
|} | |} | ||
+ | |||
+ | |||
+ | === 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. | ||
+ | * 9 | ||
+ | ** kannkor|user01|primalz | ||
+ | *** Only people named: kannkor|user01|primalz |
Revision as of 21:09, 17 May 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 | |
---|---|---|
Everyone | ||
If you are in raid, the Group specified will do it. For example: 'g2' would mean only group 2 | ||
Your Class. For example: 'guardian' - would mean only Guadians. | ||
Your Subclass. For example: 'Crusader' - Would mean only Shadowknight and paladins. | ||
Your archetype. For example: 'Scout' - Would mean only scouts. | ||
Not your archetype. For example: 'NotFighter' - Would mean anyone who is not a fighter. | ||
If I consider you melee. Refers to Fighters and Scouts. | ||
Refers to not being melee. So Mages and Priests. | ||
If I consider you a caster. Refers to Mages and Priests. | ||
Refers to not being a caster. So Fighters and Scouts. | ||
Stands for: In Group With. Example: 'IGW:Kannkor' - Refers to Kannkor and anyone in the group with Kannkor | ||
Stands for: In Group With But Not. Example: 'IGWBN:Kannkor' - Refers to anyone in the group with Kannkor, but not Kannkor. | ||
Stands for: In Raid With. Example: 'IRW:Kannkor' - Refers to Kannkor and anyone in the raid with Kannkor. | ||
Stands for: In Group With But Not. Example: 'IRWBN:Kannkor' - Refers to anyone in the raid with Kannkor, but not Kannkor. | ||
Stands for Not:Player. Example: 'Not:Kannkor' - Refers to anyone who is not Kannkor. | ||
Stands for Not<classification>. Example: 'Not:priest' - Refers to anyone who is not a priest. | ||
Parameters currently supported:
|
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
- fighter|scout
- Example 2
- fighter+g1
- Fighter in group 1 (in a raid situation)
- fighter+g1
- 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.
- Fighter (doesn't matter what group) OR a scout in group 1.
- fighter|scout+g1
- Example 4
- -fighter
- TRUE if you are NOT a fighter. FALSE if you ARE a fighter.
- -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').
- -mage+-scout+-priest
- Example 6
- fighter+g1+-kannkor
- Fighters in group 1 whom are NOT named 'Kannkor'
- fighter+g1+-kannkor
- Example 7
- all+-priest
- Everyone except for priests. (notpriest would be easier)
- all+-priest
- Example 8
- all+-kannkor+-user01+-primalz
- Everyone except for kannkor, user01, and primalz.
- all+-kannkor+-user01+-primalz
- 9
- kannkor|user01|primalz
- Only people named: kannkor|user01|primalz
- kannkor|user01|primalz