Advanced Party Search para Slave

################################ ######FIND MASTER############### ################################ #find master automacro findMaster { timeout 3 console /^I lost my master/ call { $master = @config (followTarget) do pm "$master" x $.map $.pos } } automacro findMaster2 { timeout 3 console /^Calculating route to find master/ call { $master = @config (followTarget) do pm "$master" x $.map $.pos } } #goto master automacro gotoMaster { pm /x (.*) (.*) (.*)/ call { $pm = $.lastpm if ($pm != $master) stop do move $.lastMatch1 $.lastMatch2 $.lastMatch3 } } #when master is found automacro foundMaster { console /^Found my master!/ call { do pm "$master" clear } }
Adicione no macros.txt do SLAVE

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.