Update 'TARGET'
parent
481f5435dd
commit
3ef6f8e6e6
20
TARGET.md
Normal file
20
TARGET.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# Target selection
|
||||
Some commands require a target, this page explains all the ways you can provide one.
|
||||
|
||||
## Empty target
|
||||
Empty target means you. Example: `/mbchc donate`. Note that this isn't a valid command, because you can't donate to yourself.
|
||||
|
||||
## Relative positions
|
||||
`<` and `>` symbols indicate people left and right of you, the offset is equal to the amount of symbols, so `<<<<` means fourth person to your left. It wraps around, so for example if there are only two persons in the room including you, `>>` means yourself. Example: `/mbchc donate >`.
|
||||
|
||||
## Absolute positions
|
||||
A single digit means the person't position in the room, starting from zero. Numbers between 11 and 15, as well as 21 and 25 mean the person's position in the row (top and bottom). Example: `/mbchc donate 22` means the second person from the left in the bottom row.
|
||||
|
||||
## General match
|
||||
Target is treated as a substring that is matched against everyone's MemberNumber, name and nickname. Example: `/mbchc donate 823`.
|
||||
|
||||
## Explicit MemberNumber match
|
||||
If a target is prefixed by `=`, it will only match the MemberNumber. Example: `/mbchc donate =22`.
|
||||
|
||||
## Explicit name match
|
||||
If a target is prefixed by `@`, it will only match the name and nickname. Example: `/mbchc donate @1337`.
|
Loading…
Reference in New Issue
Block a user