Openkore.com

OpenKore Forums
It is currently 20 Oct 2018, 03:15

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: Using items
PostPosted: 28 Aug 2017, 13:34 
Offline
Human
Human

Joined: 12 Jul 2017, 05:11
Posts: 31
Hello, i never used macro before, so i come to receive some help from you, guys :)

I need a simple macro that will use an item if location changed, cuz priests warp my bots to locations that they can't escape.

i got

automacro string4 {
console /prontera./
run-once 0
exclusive 1
call butterflywing
}


How to use butterfly wing with macro?


Top
 Profile  
 
 Post subject: Re: Using items
PostPosted: 28 Aug 2017, 16:41 
Offline
Developers
Developers

Joined: 01 Nov 2008, 15:31
Posts: 361
Code:
console /prontera./


don't use this it will trigger random believe me.

to use butterfly wings:
Code:
call{
do tele 2
}

_________________
Please use pin function for uploading your file contents!


Top
 Profile  
 
 Post subject: Re: Using items
PostPosted: 28 Aug 2017, 19:23 
Offline
Human
Human

Joined: 12 Jul 2017, 05:11
Posts: 31
Thanks.
Maybe anyone knows any other wat to avoid warp portals, casted by priests?


Top
 Profile  
 
 Post subject: Re: Using items
PostPosted: 30 Aug 2017, 09:20 
Offline
Noob
Noob

Joined: 17 Jul 2017, 04:01
Posts: 7
Hey dude,

I think what you are looking for is the same thing I am trying to do here: viewtopic.php?f=32&t=212286

But unfortunately no one answered my question yet :cry:


Top
 Profile  
 
 Post subject: Re: Using items
PostPosted: 30 Aug 2017, 10:20 
Offline
Human
Human

Joined: 12 Jul 2017, 05:11
Posts: 31
krishna123 wrote:
Hey dude,

I think what you are looking for is the same thing I am trying to do here: viewtopic.php?f=32&t=212286

But unfortunately no one answered my question yet :cry:



My macro works correctly. The most popular map for botwarping are izlude/yuno/pront, so i made this

Code:
automacro string3 {
console /izlude./
run-once 0
exclusive 1
call butterfly
}

automacro string4 {
console /prontera./
run-once 0
exclusive 1
call butterfly
}

automacro string5 {
console /yuno./
run-once 0
exclusive 1
call butterfly
}


macro butterfly {
do tele 2
}


Top
 Profile  
 
 Post subject: Re: Using items
PostPosted: 30 Aug 2017, 10:31 
Offline
Developers
Developers

Joined: 01 Nov 2008, 15:31
Posts: 361
1. "." means any symbol! To do point -> "\."
2. You can do /(orthis|orthis|orthis)/ Example:

Code:
automacro mapchange{
console /(izlude\.|prontera\.|yuno\.)/
run-once 0
exclusive 1
call butterfly
}

macro butterfly {
do tele 2
}

_________________
Please use pin function for uploading your file contents!


Top
 Profile  
 
 Post subject: Re: Using items
PostPosted: 30 Aug 2017, 11:06 
Offline
Noob
Noob

Joined: 17 Jul 2017, 04:01
Posts: 7
Shikari wrote:
krishna123 wrote:
Hey dude,

I think what you are looking for is the same thing I am trying to do here: viewtopic.php?f=32&t=212286

But unfortunately no one answered my question yet :cry:



My macro works correctly. The most popular map for botwarping are izlude/yuno/pront, so i made this

Code:
automacro string3 {
console /izlude./
run-once 0
exclusive 1
call butterfly
}

automacro string4 {
console /prontera./
run-once 0
exclusive 1
call butterfly
}

automacro string5 {
console /yuno./
run-once 0
exclusive 1
call butterfly
}


macro butterfly {
do tele 2
}


But what if it is not izlude/yuno/pront? That's why I am trying to create something like
"If my bot is not on one of my maps (for example all beteween Aldebaran and Toy Factory 2), use a butterfly wing and log out for 10min".


Top
 Profile  
 
 Post subject: Re: Using items
PostPosted: 30 Aug 2017, 11:18 
Offline
Developers
Developers

Joined: 01 Nov 2008, 15:31
Posts: 361
sorry guys but why u not use?

Code:
allowedMaps <all maps u can get in on accident or not, as coma separated list>
allowedMaps_reaction 0

_________________
Please use pin function for uploading your file contents!


Top
 Profile  
 
 Post subject: Re: Using items
PostPosted: 30 Aug 2017, 11:45 
Offline
Noob
Noob

Joined: 17 Jul 2017, 04:01
Posts: 7
Mortimal wrote:
sorry guys but why u not use?

Code:
allowedMaps <all maps u can get in on accident or not, as coma separated list>
allowedMaps_reaction 0


WHAT :O This is exactly what I was looking for :O

What does the reaction "Respawn" mean? Use a butterfly wing or relog?


Top
 Profile  
 
 Post subject: Re: Using items
PostPosted: 30 Aug 2017, 12:05 
Offline
Developers
Developers

Joined: 01 Nov 2008, 15:31
Posts: 361
use bw

_________________
Please use pin function for uploading your file contents!


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