I want my bot to teleport back to city when ever its SP is less than 20(not percentage), then talk to healer and then warp back using warper. so i made this. I have never used macro before.
1)in Control>macros.txt>
automacro sp {
   sp < 20
   call {
	do c @go 5
	do talknpc 125 118 <-----------------------(healer)
	do talknpc 127 118 c r0 c r0 <--------------(Last warp)
   }
2)iControl>Configuration>
macro_file macros.txt
3)in plugins> installed macro plugin from SVN
But when openkore starts it says, "error loading control\macros.txt." What is my mistake and how can i correct it?
			
			
									
						
										
						Macro Plugin Help please
Moderator: Moderators
- 
				drad
 - Noob

 - Posts: 5
 - Joined: 28 May 2010, 10:38
 - Noob?: Yes
 
Re: Macro Plugin Help please
I figured it out my self, for future reference for others just posting my macro here, its working fine for me, although sometime it creates problem.
automacro refillsp {
sp < 20
hp < 10%
overrideAI 1
run-once 1
call {
do c @go 5
pause 4
do move 128 114 izlude
do talknpc 125 118 c r0
pause 2
do talknpc 127 118 c r0 c r0
release refillsp
}
	
}
			
			
									
						
										
						automacro refillsp {
sp < 20
hp < 10%
overrideAI 1
run-once 1
call {
do c @go 5
pause 4
do move 128 114 izlude
do talknpc 125 118 c r0
pause 2
do talknpc 127 118 c r0 c r0
release refillsp
}
}