about pubm, pm, party, guild

All about the macro plugin can be found in this forum. This forum is intended for the macro plugin only.

Moderator: Moderators

Kyubiko
Noob
Noob
Posts: 12
Joined: 10 Dec 2011, 19:06
Noob?: Yes

about pubm, pm, party, guild

#1 Post by Kyubiko »

Automacro A (
pubm /I love you!/
.
.
.
.
do pm $.lastpubm, I love you too!
}
Automacro B (
pm /I love you!/
.
.
.
.
do pm $.lastpm, I love you too!
}
Automacro C (
party /I love you!/
.
.
.
.
do pm $.lastpm, I love you too!
}
Automacro D (
guild /I love you!/
.
.
.
.
do pm $.lastpm, I love you too!
}
Can I only use one Automacro to run 4 conditions
Shadow7
Human
Human
Posts: 25
Joined: 03 Dec 2009, 12:30
Noob?: No

Re: about pubm, pm, party, guild

#2 Post by Shadow7 »

As far as I know you unfortunately can't XD (A complicated condition like that will be difficult to write. Instead you could stick to the simple conditions)

What you could do to simplify things is to call a specific macro from each of the four conditions.
For example:

automacro a {
pub /regexp/
call yourMacro
}

automacro b {
pm /regexp/
call yourMacro
}

automacro c {
party /regexp/
call yourMacro
}

macro yourMacro {
do c TADA!!
}



Hope I helped :) For more info check out http://wiki.openkore.com/index.php/Macr ... Automacros