if ($first =~ /one|önê|onê|öne/) goto one
if ($first =~ /two|twö/) goto two
if ($first =~ /thrêe|three|thrêê|threê/) goto three
if ($first =~ /föûr|four|föur|foûr/) goto four
if ($first =~ /fïve|five|fïvê|fivê|f?ve/) goto five
if ($first =~ /sïx|six|s?x/) goto six
if ($first =~ /sêvên|seven|sêven|sevên/) goto seven
if ($first =~ /eïght|eight|êight|êïght|e?ght/) goto eight
if ($first =~ /nïne|nine|nïnê|ninê|n?ne/) goto nine
:one
$num = 1
goto result
:two
$num = 2
goto result
:three
$num = 3
goto result
:four
$num = 4
goto result
:five
$num = 5
goto result
:six
$num = 6
goto result
:seven
$num = 7
goto result
:eight
$num = 8
goto result
:nine
$num = 9
goto result
:result
$result = $num
do talk $result
do talk num $result
release all
}
}
@vaug you have to make sure that you have a macro folder in the plugins.
Yeah insert the antibot macro in the macros.txt then put the macros.txt in the config folder.
BTW the macro that i posted is just one of the combinations for the anti bot. I've posted it for your basis.
@khaigh i get this error when i put it into macros.txt
Error message:
Malformed UTF-8 character (fatal) at plugins/Macro/Parser.pm line 34, <FILE> line 55.
Stack trace:
Malformed UTF-8 character (fatal) at plugins/Macro/Parser.pm line 34, <FILE> line 55.
at src/Interface/Wx.pm line 161
Interface::Wx::mainLoop('Interface::Wx=HASH(0x53597fc)') called at openkore.pl line 97
main::__start() called at start.pl line 136
now this kind of error i get after putting it on macros.txt
OpenKore version what-will-become-2.1
SVN revision: 8496
Loaded plugins:
plugins/macro.pl (macro; description: allows usage of macros)
Error message:
Malformed UTF-8 character (fatal) at plugins/Macro/Parser.pm line 34, <FILE> line 54.
Stack trace:
Malformed UTF-8 character (fatal) at plugins/Macro/Parser.pm line 34, <FILE> line 54.
at src/Interface/Wx.pm line 161
Interface::Wx::mainLoop('Interface::Wx=HASH(0x547dfdc)') called at openkore.pl line 97
main::__start() called at start.pl line 136
BTW sir khaigh can you give me a link for macro i could not download it anymore in openkore i search the google maybe i get a old one so it gets an error