Help in automacro, trigerring from responses

All about the macro plugin can be found in this forum. This forum is intended for the macro plugin only.

Moderator: Moderators

glennlevi
Plain Yogurt
Plain Yogurt
Posts: 58
Joined: 19 May 2011, 00:40
Noob?: Yes

Help in automacro, trigerring from responses

#1 Post by glennlevi »

Already posted in Discussion section.. but im not sure if thats the right section to post in, since I cant find a "Help Section".
Here it goes:
First of all, use this console line as reference for what Im about to ask:

Code: Select all

[Apr 24 17:16:30 2013.42] Alpha MVP: Type 'talk resp #' to choose a response.
[Apr 24 17:16:33 2013.27] Alpha MVP: [ Alpha MVP ]
[Apr 24 17:16:33 2013.28] Alpha MVP: Which Arena you want to go to??
[Apr 24 17:16:33 2013.30] ----------Responses-----------
#  Response
0  Arena 1 [0 / 50]
1  Arena 2 [0 / 50]
2  Arena 3 [0 / 15]
3  Arena 4 [0 / 15]
4  Arena 5 [0 / 15]
5  Arena 6 [1 / 15]
6  Arena 7 [0 / 15]
7  Arena 8 [0 / 15]
8  Quit
9  Cancel Chat
-------------------------------
[Apr 24 17:16:33 2013.31] Alpha MVP: Type 'talk resp #' to choose a response.
[Apr 24 17:16:36 2013.25] Alpha MVP: [ Alpha MVP ]
[Apr 24 17:16:36 2013.26] Alpha MVP: Here you go!
[Apr 24 17:16:36 2013.28] Map Change: pvp_n_8-2.gat (102, 102)
This is my console for entering an MVP room. I wanted to ask if I could trigger a macro by the number of people in the room (which can be seen in the response options). Basically it all has to do with Arena 8. If there is somebody in Arena 8 already, the macro will go to Arena 5 instead. Im almost done with it except I cant get it to trigger.

I tried using the console condition:

Code: Select all

console /Arena 8 [1 / 15]/
and

Code: Select all

console "Arena 8 [1 / 15]"
but it seems that response selection cant be used to trigger console condition :[

Help?
iMikeLance
Moderators
Moderators
Posts: 208
Joined: 01 Feb 2010, 17:37
Noob?: No
Location: Brazil - MG

Re: Help in automacro, trigerring from responses

#2 Post by iMikeLance »

You can try this: http://forums.openkore.com/viewtopic.php?f=36&t=29329
But still it won't select the room with more people.
glennlevi
Plain Yogurt
Plain Yogurt
Posts: 58
Joined: 19 May 2011, 00:40
Noob?: Yes

Re: Help in automacro, trigerring from responses

#3 Post by glennlevi »

iMikeLance wrote:You can try this: http://forums.openkore.com/viewtopic.php?f=36&t=29329
But still it won't select the room with more people.
So all I do is replace my TalkNPC.pm with ur revision and NPC responses will show up in regexp?