Recently I made a simple macro for tele-searching. The point is to make the bot tele-search until its sp less than 10%, then it will turn tele-search off until it has enough sp (in my case, 50%). Here is my code :
Code: Select all
automacro save_sp_on {
	sp < 10%
	call change_config
	run-once 1
}
macro change_config {
	do conf route_randomWalk 1
	release save_sp_off
}
automacro save_sp_off {
	sp > 50%
	call return_config
	run-once 1
}
macro return_config {
	do conf route_randomWalk 0
	release save_sp_on
}
----edit----
oh and before someone asking, yes I have already changed the config and mon_control for tele-searching.
----edit2---
I also have taken a look at tele-search v2, but that's not really what I'm looking for.

