or's symbol/ letter/ number for automacro's conditions
Moderator: Moderators
-
- Plain Yogurt
- Posts: 58
- Joined: 18 Sep 2009, 01:28
- Noob?: Yes
or's symbol/ letter/ number for automacro's conditions
Is there an or symbol/ letter/ number for automacro's conditions?
-
- The Kore Devil
- Posts: 672
- Joined: 22 Feb 2013, 03:40
- Noob?: No
- Location: The Netherlands
Re: or's symbol/ letter/ number for automacro's conditions
Comma-separated arguments are treated as OR conditionsinv wrote:Is there an or symbol/ letter/ number for automacro's conditions?
Multiple lines are treated as AND conditions
http://wiki.openkore.com/index.php/Macro_plugin
-
- Plain Yogurt
- Posts: 58
- Joined: 18 Sep 2009, 01:28
- Noob?: Yes
Re: or's symbol/ letter/ number for automacro's conditions
Comma is for spell, status etc, but for player isn't comma, it didn't say comma, and I've tested using comma, but it didn't work. For others like player, there's no function to do it?
-
- Plain Yogurt
- Posts: 62
- Joined: 17 Jul 2010, 00:48
- Noob?: No
- Location: pRO Valkyrie
Re: or's symbol/ letter/ number for automacro's conditions
inv wrote:Comma is for spell, status etc, but for player isn't comma, it didn't say comma, and I've tested using comma, but it didn't work. For others like player, there's no function to do it?
there's no OR condition for players unfortunately.Openkore Macro Plugin Help wrote:player ("<player name>" | /<regexp>/) [, <distance> ]
Triggers when <player name> is on screen and not more than <distance> blocks away.
Multiple lines are treated as AND conditions.
i suggest you should download the help file of macro plugin for reference
Openkore Macro Plugin Help:
http://forums.openkore.com/viewtopic.php?f=32&t=8927

-
- Plain Yogurt
- Posts: 58
- Joined: 18 Sep 2009, 01:28
- Noob?: Yes
Re: or's symbol/ letter/ number for automacro's conditions
Why do I need to reference the no ors for macro plugin?
-
- Moderators
- Posts: 208
- Joined: 01 Feb 2010, 17:37
- Noob?: No
- Location: Brazil - MG
Re: or's symbol/ letter/ number for automacro's conditions
Use regex:
player /(Playername1|Playername2|PlayerName3)/
player /(Playername1|Playername2|PlayerName3)/
-
- Plain Yogurt
- Posts: 58
- Joined: 18 Sep 2009, 01:28
- Noob?: Yes
Re: or's symbol/ letter/ number for automacro's conditions
I've just tried player /(player1|player2)/, /("player1"|"player2")/, /"player1"|"player2"/, /player1|player2/, (player1|player2), ("player1"|"player2"), "player1"|"player2", player1|player2, all don't work