Openkore.com
http://forums.openkore.com/

About buffs by telling the name
http://forums.openkore.com/viewtopic.php?f=32&t=17044
Page 1 of 1

Author:  tetrapack [ 03 Apr 2012, 07:16 ]
Post subject:  About buffs by telling the name

Im planning to make a macro that enable the priest to buffs the other name mentioned by his party member. unfortunately i got some errors with the targets, any help will be appreciated. Thanks

automacro buffsThisName {
party "hey priest please buffs this $name"
call buffs
}

macro buffs {
do sp 34 ** i dont know what to put here**
do sp 29 ** i dont know what to put here**
do sit
}

Author:  SkylorD [ 03 Apr 2012, 18:12 ]
Post subject:  Re: About buffs by telling the name

You can do this through of Regular Expressions.

Quote:
do sp 29 ** i dont know what to put here**


Quote:
do sp 29 <target binID>


To return index (binID), you can use this :

@player("Player Name")

Returns player index of player <name>. If player <name> is not found, it returns -1.

-----


Like this :

Quote:
automacro GM {
console /The player (.*) was died by a GM/i
call {
log "The player $.lastMatch1 was died by a GM"
log "I want trade with this player, can i do ?"
$playerID = @player($.lastMatch1)
do pm "$playerID" Quit, Gm is near and kill you
}
}


It's an example how you will do your macro.

Author:  Hyperion0777 [ 01 Oct 2017, 06:25 ]
Post subject:  Re: About buffs by telling the name

Im a noob on this can someone explain this further.. sorry I know this i an old post but im also trying to know how to do this macro

Author:  Pachu [ 03 Oct 2017, 16:44 ]
Post subject:  Re: About buffs by telling the name

if you read the manual it's very easy to make your priest buff with chat commands

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/