Page 1 of 1

macro for antibot

Posted: 22 Mar 2020, 17:44
by Sensui
does anyone know how to make a macro for this antibot?

https://prnt.sc/rkt2cm

Re: macro for antibot

Posted: 23 Mar 2020, 09:00
by fadreus
Use macro console with something like (.*?) and $.lastMatch1

There is plenty of example here.
You can do it if you try unless you want solution fall into your lap for doing nothing.

Re: macro for antibot

Posted: 24 Mar 2020, 06:48
by Sensui
sorry,i don't know anything about macro but i will try here

Re: macro for antibot

Posted: 25 Mar 2020, 04:28
by Sensui
i tried this
automacro antibot {
console /Desconhecido #110000469: Digite o valor este valor - (.*?)/
run-once 0
call {
do talk text $.lastMatch1
}
}

and and then I tried to change the console 3 more times after seeing this topic(that has a very similar antibot) http://forums.openkore.com/viewtopic.php?f=27&t=212673

console /Desconhecido #110000469: Digite o valor este valor - .*?(\d+)/
console /110000469: .*?(\d+)/
console /Desconhecido #110000469: .*?(\d+)/

but none worked,do I need something in config.txt?I noticed that the [macro] automacro triggered no longer appears
and the antibot has changed now is this https://prnt.sc/rmciwp

Re: macro for antibot

Posted: 25 Mar 2020, 13:38
by fadreus
Sensui wrote:do talk text $.lastMatch1
Image

http://openkore.com/index.php/Talk

Image

Re: macro for antibot

Posted: 26 Mar 2020, 09:03
by Sensui
automacro antibot {
console /Desconhecido #110000469: Digite o valor este valor - (.*?)/
call {
do talk num $.lastMatch1
do talk cont
release all
}
}

and

automacro antibot {
console /Desconhecido #110000469: (.*?)/
call {
do talk num $.lastMatch1
do talk cont
release all
}
}

none worked
print : https://prnt.sc/rn62lj

Re: macro for antibot

Posted: 29 Mar 2020, 05:47
by fadreus
Tried with .*?(\d+) ?