Openkore.com

OpenKore Forums
It is currently 19 Nov 2019, 01:06

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Spell [party] and Item? [party] such condition exists?
PostPosted: 22 Apr 2017, 05:34 
Offline
Human
Human

Joined: 28 Mar 2017, 03:08
Posts: 39
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 ;)


Top
 Profile  
 
 Post subject: Re: Spell [party] and Item? [party] such condition exists?
PostPosted: 23 Apr 2017, 01:02 
Offline
Moderators
Moderators
User avatar

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

_________________
"'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

viewtopic.php?f=10&t=16117

Thanks for this Eternal! =D <3<3


Top
 Profile  
 
 Post subject: Re: Spell [party] and Item? [party] such condition exists?
PostPosted: 23 Apr 2017, 02:59 
Offline
Human
Human

Joined: 28 Mar 2017, 03:08
Posts: 39
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:
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?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 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