Page 1 of 1

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

Posted: 22 Apr 2017, 05:34
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 ;)

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

Posted: 23 Apr 2017, 01:02
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.

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

Posted: 23 Apr 2017, 02:59
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?