Hello there guys, after a while of reading the open kore boards i found this 2 macros that are totally functional and tested by me, i'm sure that they will be usefull for those of you that doesn't wanna use 3 clients or lose time alt+tabbing clients to buff and/or link yourself.
First of all remember to put this on the macros.txt in the control folder of your open kore, if you don't have this macros.txt just create a new .txt and rename it. Remember that u must have the macro plugin installed to make use of this code, ok lets hit the point, in your macros.txt paste the following code to have an autobuffer priest, the priest or hp will automatically buff you whenever you whisp he/she "buffs", every time u pm buffs to him/her it will cast bless, agi, assumptio and impo on you; you can change the pm "buffs" part to any word that u like, like baps or drugs or whatever. here it is:
######################
automacro BuffMe1 {
pm "buffs"
run-once 1
call BuffMe1
}
macro BuffMe1 {
do stand
do sp 34 "$.lastpm"
do sp 29 "$.lastpm"
do sp 361 "$.lastpm"
do sp 66 "$.lastpm"
pause 1
pause 1
do sit
release BuffMe1
}
########################
ok, now lets get the linker code, for this one i actually used two codes to accomplish what i wanted, this two codes will do the following:
whenever u say "kaite", "kaupe" or "kaahi" to te public chat, the linker will cast the skill on you respectively, and for link i wanted it to only link ppl who pm it with an specific word, to prevent other ppl to get free link, the word i used is "spirit", so if i want kaite or another buff i say it in the main chat, but if i want link i pm my linker with "spirit", ok here is the code:
########################
automacro keyword {
console /\[dist=(.*)\] (.*) \((\d+)\): (.*)(kaupe|kaite|kaahi|Flag)(.*)$/
call spiritin
priority 0
}
macro spiritin {
$di = $.lastMatch1
$n = $.lastMatch2
$b = $.lastMatch3
$skill = $.lastMatch5
$job = @eval ($:layers{$:layersID[$b]}->{jobID})
goto skill
stop
:skill
if ($skill == spirit) goto spirit
if ($skill == Flag) goto spirit
if ($di < 8) goto ka
goto far
stop
:ka
if ($skill == kaupe) goto kaupe
if ($skill == kaite) goto kaite
if ($skill == kaahi) goto kaahi
goto end
:spirit
if ($job = 12) goto sin
if ($job = 4013) goto sin
if ($job = 16) goto sage
if ($job = 4017) goto sage
if ($job = 8) goto pris
if ($job = 4009) goto pris
if ($job = 15) goto monk
if ($job = 4016) goto monk
if ($job = 9) goto wiz
if ($job = 4010) goto wiz
if ($job = 17) goto rogue
if ($job = 4018) goto rogue
if ($job = 18) goto alche
if ($job = 4019) goto alche
if ($job = 4020) goto bdc
if ($job = 4021) goto bdc
if ($job = 19) goto bdc
if ($job = 20) goto bdc
if ($job = 14) goto crs
if ($job = 4015) goto crs
if ($job = 21) goto crs
if ($job = 4022) goto crs
if ($job = 23) goto sn
if ($job = 10) goto bs
if ($job = 4011) goto bs
if ($job = 4047) goto tm
if ($job = 4048) goto tm
if ($job = 4049) goto sl
if ($job = 7) goto knit
if ($job = 13) goto knit
if ($job = 174) goto knit
if ($job = 4014) goto knit
goto unspirit
:sin
if ($di < 8) goto sin1
goto far
:sage
if ($di < 8) goto sage1
goto far
ris
if ($di < 8) goto pris1
goto far
:monk
if ($di < 8) goto monk1
goto far
:wiz
if ($di < 8) goto wiz1
goto far
:rogue
if ($di < 8) goto rogue1
goto far
:alche
if ($di < 8) goto alche1
goto far
:bdc
if ($di < 8) goto bdc1
goto far
:crs
if ($di < 8) goto crs1
goto far
:sn
if ($di < 8) goto sn1
goto far
:bs
if ($di < 8) goto bs1
goto far
:tm
if ($di < 8) goto tm1
goto far
:sl
if ($di < 8) goto sl1
goto far
:knit
if ($di < 8) goto knit1
goto far
:sin1
do sp 457 "$n"
goto finish
:sage1
do sp 449 "$n"
goto finish
ris1
do sp 454 "$n"
goto finish
:monk1
do sp 447 "$n"
goto finish
:wiz1
do sp 453 "$n"
goto finish
:rogue1
do sp 456 "$n"
goto finish
:alche1
do sp 445 "$n"
goto finish
:bdc1
do sp 455 "$n"
goto finish
:crs1
do sp 450 "$n"
goto finish
:sn1
do sp 451 "$n"
goto finish
:bs1
do sp 458 "$n"
goto finish
:tm1
do sp 448 "$n"
goto finish
:sl1
do sp 461 "$n"
goto finish
:knit1
do sp 452 "$n"
goto finish
:finish
release all
do e no1
stop
:unspirit
release all
do @random ("sory i don't have your link","i don't have yours","i didn't get that skill")
stop
:kaupe
do sp 464 "$n"
stop
:kaite
do sp 465 "$n"
stop
:kaahi
do sp 463 "$n"
stop
:far
do @random ("come closer >:","i won't move ,come","ok, get over here")
stop
:end
stop
}
########################
automacro link {
pm "spirit"
call {
$id = @player ($.lastpm)
if ($id < 0) stop
$jobID = @eval ($:layers{$:layersID[$id]}->{jobID})
if ($jobID = 7) goto knight
if ($jobID = 8) goto priest
if ($jobID = 9) goto wizard
if ($jobID = 10) goto smith
if ($jobID = 11) goto sniper
if ($jobID = 12) goto assassin
if ($jobID = 13) goto knight
if ($jobID = 14) goto paladin
if ($jobID = 15) goto champion
if ($jobID = 16) goto professor
if ($jobID = 17) goto stalker
if ($jobID = 18) goto creator
if ($jobID = 19) goto clown
if ($jobID = 20) goto clown
if ($jobID = 21) goto paladin
if ($jobID = 23) goto supernovice
if ($jobID = 4008) goto knight
if ($jobID = 4009) goto priest
if ($jobID = 4010) goto wizard
if ($jobID = 4011) goto smith
if ($jobID = 4012) goto sniper
if ($jobID = 4013) goto assassin
if ($jobID = 4014) goto knight
if ($jobID = 4015) goto paladin
if ($jobID = 4016) goto champion
if ($jobID = 4017) goto professor
if ($jobID = 4018) goto stalker
if ($jobID = 4019) goto creator
if ($jobID = 4020) goto clown
if ($jobID = 4021) goto clown
if ($jobID = 4022) goto paladin
if ($jobID = 4047) goto star
if ($jobID = 4049) goto soul
:creator
do sp 445 $id
stop
release link
:champion
do sp 447 $id
stop
release link
:star
do sp 448 $id
stop
release link
rofessor
do sp 449 $id
stop
release link
aladin
do sp 450 $id
stop
release link
:supernovice
do sp 451 $id
stop
release link
:knight
do sp 452 $id
stop
release link
:wizard
do sp 453 $id
stop
release link
riest
do sp 454 $id
stop
release link
:clown
do sp 455 $id
stop
release link
:stalker
do sp 456 $id
stop
release link
:assassin
do sp 457 $id
stop
release link
:smith
do sp 458 $id
stop
release link
:sniper
do sp 460 $id
stop
release link
:soul
do sp 461 $id
stop
release link
}
}
#######################################
well thats all, sry for my bad english, im from argentina =3, and i hope u find this as usefull as i do~
cya
as i said above i "found" this macros i did'n write them, so the credit goes fot the authors i just found them and post them here for you~