OPENKORE BOT CONFIG

Openkore, Openkore bot, Openkore bot Download, Bot Config, Config.txt, New Iris

Download

Post Reply
Forum Home > Macros.txt > Master and Slave

Kologz
Administrator
Posts: 51

 

#######################################

########FIND SLAVE#####################

#######################################

 

automacro FindSlave {

pm /move (.*) (.*) (.*)/

call {

$slavemap = $.lastMatch1

$slavemapx = $.lastMatch2

$slavemapy = $.lastMatch3

$mymap = $.map

if ($slavemap == $mymap) goto findslave

do eval warning "Slave not on Map\n";

do eval message "Commanding Slave to Move Towards Master\n";

do pm "$.lastpm" move $.map $.pos

stop

:findslave

do eval warning "Moving to Slave\n";

do pm "$.lastpm" move $.map $.pos

do move $slavemap $slavemapx $slavemapy

}


For Slave

automacro lost {

console /I lost my master/

call {

do p move $.pos

}

}

 

 


June 2, 2013 at 3:54 PM Flag Quote & Reply

You must login to post.

Page View Counter

Share on Facebook

Share on Facebook

Like Us

Recent Videos

939 views - 0 comments

Recent Forum Posts

by Steven over a year ago
by Kologz over a year ago
by Kologz over a year ago

Facebook Fanpage Box