Openkore.com

OpenKore Forums
It is currently 16 Jul 2018, 06:59

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: About buffs by telling the name
PostPosted: 03 Apr 2012, 07:16 
Offline
Noob
Noob

Joined: 18 Mar 2012, 00:40
Posts: 1
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
}


Top
 Profile  
 
 Post subject: Re: About buffs by telling the name
PostPosted: 03 Apr 2012, 18:12 
Offline
Moderators
Moderators
User avatar

Joined: 16 Dec 2011, 02:53
Posts: 1173
Location: Brazil
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.

_________________
"'There are three things all wise men fear: the sea in storm, a night with no moon, and the anger of a gentle man.'" :P

Click here and travel to a new world -> Newbies
Read before asking something.
How to connect to private servers


Top
 Profile  
 
 Post subject: Re: About buffs by telling the name
PostPosted: 01 Oct 2017, 06:25 
Offline
Noob
Noob

Joined: 01 Oct 2017, 06:17
Posts: 1
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


Top
 Profile  
 
 Post subject: Re: About buffs by telling the name
PostPosted: 03 Oct 2017, 16:44 
Offline
Plain Yogurt
Plain Yogurt

Joined: 04 Apr 2008, 14:21
Posts: 52
if you read the manual it's very easy to make your priest buff with chat commands


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group