All about the macro plugin can be found in this forum. This forum is intended for the macro plugin only.
	Moderator:  Moderators 
		
	
			
	
			
		
			
		
		
			
				
																			
								Shikari  
						Human 			
		Posts:  29Joined:  12 Jul 2017, 05:11Noob?:  Yes 
		
						
					
								
						#1 Post by Shikari  28 Aug 2017, 13:34 
			
			
			
			
			
			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?
 
		 
				
		
		 
	 
				
		
		
			
				
																			
								Mortimal  
						Developers 			
		Posts:  389Joined:  01 Nov 2008, 15:31Noob?:  No 
		
						
					
								
						#2 Post by Mortimal  28 Aug 2017, 16:41 
			
			
			
			
			
			
don't use this it will trigger random believe me.
to use butterfly wings:
Please use pin function for uploading your file contents!
			
						 
		 
				
		
		 
	 
				
		
		
			
				
																			
								Shikari  
						Human 			
		Posts:  29Joined:  12 Jul 2017, 05:11Noob?:  Yes 
		
						
					
								
						#3 Post by Shikari  28 Aug 2017, 19:23 
			
			
			
			
			
			Thanks.
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
		
			
				
																			
								krishna123  
						Noob 			
		Posts:  10Joined:  17 Jul 2017, 04:01Noob?:  Yes 
		
						
					
								
						#4 Post by krishna123  30 Aug 2017, 09:20 
			
			
			
			
			
			Hey dude, 
I think what you are looking for is the same thing I am trying to do here: 
http://forums.openkore.com/viewtopic.php?f=32&t=212286 
But unfortunately no one answered my question yet  
 
		 
				
		
		 
	 
				
		
		
			
				
																			
								Shikari  
						Human 			
		Posts:  29Joined:  12 Jul 2017, 05:11Noob?:  Yes 
		
						
					
								
						#5 Post by Shikari  30 Aug 2017, 10:20 
			
			
			
			
			
			
My macro works correctly. The most popular map for botwarping are izlude/yuno/pront, so i made this
Code: Select all 
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
}
 
		 
				
		
		 
	 
				
		
		
			
				
																			
								Mortimal  
						Developers 			
		Posts:  389Joined:  01 Nov 2008, 15:31Noob?:  No 
		
						
					
								
						#6 Post by Mortimal  30 Aug 2017, 10:31 
			
			
			
			
			
			1.  "." means 
any  symbol! To do point -> "\."
2.  You can do 
/(orthis|orthis|orthis)/   Example:
Code: Select all 
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!
			
						 
		 
				
		
		 
	 
				
		
		
			
				
																			
								krishna123  
						Noob 			
		Posts:  10Joined:  17 Jul 2017, 04:01Noob?:  Yes 
		
						
					
								
						#7 Post by krishna123  30 Aug 2017, 11:06 
			
			
			
			
			
			Shikari wrote: 
My macro works correctly. The most popular map for botwarping are izlude/yuno/pront, so i made this
Code: Select all 
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".
 
		 
				
		
		 
	 
				
		
		
			
				
																			
								Mortimal  
						Developers 			
		Posts:  389Joined:  01 Nov 2008, 15:31Noob?:  No 
		
						
					
								
						#8 Post by Mortimal  30 Aug 2017, 11:18 
			
			
			
			
			
			sorry guys but why u not use?
Code: Select all 
allowedMaps <all maps u can get in on accident or not, as coma separated list>
allowedMaps_reaction 0Please use pin function for uploading your file contents!
			
						 
		 
				
		
		 
	 
				
		
		
			
				
																			
								krishna123  
						Noob 			
		Posts:  10Joined:  17 Jul 2017, 04:01Noob?:  Yes 
		
						
					
								
						#9 Post by krishna123  30 Aug 2017, 11:45 
			
			
			
			
			
			Mortimal wrote: sorry guys but why u not use?
Code: Select all 
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?
 
		 
				
		
		 
	 
				
		
		
			
				
																			
								Mortimal  
						Developers 			
		Posts:  389Joined:  01 Nov 2008, 15:31Noob?:  No 
		
						
					
								
						#10 Post by Mortimal  30 Aug 2017, 12:05 
			
			
			
			
			
			use bw
			
			
									
						
							Please use pin function for uploading your file contents!