OPENKORE BOT CONFIG

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

Download

Post Reply
Forum Home > Macros.txt > Guild Buffer

Kologz
Administrator
Posts: 51

 

automacro createPub {

console /^Your Coordinates: /i

exclusive 1

delay 2

call {

$chatroomname = Flag = Fullbuffs | HP = Heal

do chat create "$chatroomname"

}

}

 

automacro sampleGuildBuffer {

console /\[dist=(.*)\] (.*) \((\d+)\): \*(.*)\*$/i

exclusive 1

call {

$dist = $.lastMatch1

$name = $.lastMatch2

$index = $.lastMatch3

$emo = $.lastMatch4

 

if (checkGuild("$index")) goto guild

goto end

 

:guild

if ($dist > 8) goto outOfRange

if ($emo == Flag 3) goto buffs

if ($emo == Help) goto heal

goto end

 

:outOfRange

do e e9

goto end

 

:heal

do chat leave

do sp 28 $index #heal

pause 2

do sp 28 $index #heal

pause 2

do sp 28 $index #heal

goto pub

 

:buffs

do chat leave

do sp 34 $index #blessing

do sp 29 $index #agi up

pause 4

do sp 361 $index #assumptio

pause 5

do sp 66 $index #impositio

goto pub

 

:pub

do chat create "$chatroomname"

do e e29

goto end

 

:end

}

}

 

sub checkGuild {

my $index = shift;

my $quild = $players{$playersID[$index]}->{guild} ? $players{$playersID[$index]}->{guild}{name} : "none";

if ($quild =~ /soulless/i || ($config{guild} && existsInList($config{guild}, $quild))) {

return 1

}

return 0

}

 


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

You must login to post.

Page View Counter

Share on Facebook

Share on Facebook

Like Us

Recent Videos

993 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