Spell [party] and Item? [party] such condition exists?

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

Moderator: Moderators

Message
Author
palancho
Human
Human
Posts: 39
Joined: 28 Mar 2017, 03:08
Noob?: Yes

Spell [party] and Item? [party] such condition exists?

#1 Post by palancho »

So I don't know what condition to use to describe that master used Butterfly Wings, and I don't know how to make macro to order bot to write in party channel :/

Hello guys!!!
I am trying to make a macro and I need help :)
First of all, does use item condition similar to Spell [party] condition exist, or some condition with item similar?
If no, is there any way to force the slave bot to use specific item when master do the same- in pm, party message?:)

command do say in pub is "c"
and what is the command to say in party?


I am trying to make party teleport macro:

automacro useButterflyWing1{
is Butterfly Wing
timeout 10
call useButterflyWing2
}

macro useButterflyWing2
do c [party] tele
pause @rand(1,2)
}

automacro useButterflyWing3{
party /tele/i
timeout 10
call useButterflyWing4
}

macro useButterflyWing4
do is Butterfly Wing
pause @rand(1,2)
}

Parts in red- I am not sure if I am using it properly ;)

It would be much easier to make it with item condition similar to Spell [party]:

automacro partytp{
item [party] Butterfly Wing
call tp
}

macro tp{
pause @rand(1,2)
do is Butterfly Wing
}

Maybe there is a condition, when amount of some item falls by one master can send party message to trigger macro on slave to use item? ;)
But I don't know if such even exist. Thats why I need help ;)

User avatar
SkylorD
Moderators
Moderators
Posts: 1166
Joined: 16 Dec 2011, 02:53
Noob?: No
Location: Brazil
Contact:

Re: Spell [party] and Item? [party] such condition exists?

#2 Post by SkylorD »

Some players looks like bots.
You talk like bot. Ask like a bot.
I really think the world is a neuro-simulation.

http://openkore.com/index.php/P

Code: Select all

automacro useButterflyWing1{
is Butterfly Wing
timeout 10
call useButterflyWing2
}
is ButterFly Wing is Wrong.

You can check the existence of some item in inventory using "inventory" "condition" "value"

and then talk using :

do p Teleport!
You can talk using busCommands or using party command.
Learn rules

palancho
Human
Human
Posts: 39
Joined: 28 Mar 2017, 03:08
Noob?: Yes

Re: Spell [party] and Item? [party] such condition exists?

#3 Post by palancho »

SkylorD wrote:Some players looks like bots.
You talk like bot. Ask like a bot.
I really think the world is a neuro-simulation.

http://openkore.com/index.php/P

Code: Select all

automacro useButterflyWing1{
is Butterfly Wing
timeout 10
call useButterflyWing2
}
is ButterFly Wing is Wrong.

You can check the existence of some item in inventory using "inventory" "condition" "value"

and then talk using :

do p Teleport!
You can talk using busCommands or using party command.
Thx for answer!! and sorry for my bad english.
So as I though I need some kind of an inventory condition, was trying to search one, but can't find proper one- best would be: when amount of an item in inventory decreases by one do the command. Is there any similar? :)
Or maybe some kind of a condition: when you use an item- do the command?

Post Reply