Assuming you're talking about "no (aggressive) monsters attacking you" and not "no monster on your screen at all"... There are at least two ways to do this:
Certainly not the most elegant solution, I'll give you that. Nevertheless it's gonna heal whenever your NOT fighting (i.e. action = attack) anything. Routing is what Kore's doing most of the time while it's not engaged in combat, so that'll probably work out.
If you're shy and for some reason do not want any monster to see you while you're healing yourself, I don't know how this would be done. Doesn't sound very useful, though.
it's useful in my case because I'm telesearching on a map with strong aggro monsters. When I tele into a mob of them, I really don't want to aggro them when using heal.
Hmm. You do know that aggressive monsters will ignore you after a map change for like 1-2 seconds if you do not do anything
That means you can always heal yourself, aggro-ing them in the process and teleport afterwards if there are too many monsters around = attacking you (teleportAuto_minAggressivesInLock) or start attacking when there are few monsters around, respectively, without receiving any damage.
Even if your actions are delayed by the after cast delay (from using Heal), you/Kore can still teleport away immediately.
Yeah I do know about the invulnerability after teleport. I think the teleportAuto_minAggressivesInLock doesn't play a role in my setup since I use telesearch. So I will teleport after X seconds anyway (ai_teleport_idle X), no matter how many aggros there are.
heal yourself, aggro-ing them in the process and teleport afterwards
Imagine I teleport into a mob of hard hittings things, you can't get fast enough away (with teleport), I tried it. I think I have to stop idling if theres zero aggros on the screen and healing myself instead. But looks like OK doesn't work this way.
I'm still not sure why exactly you can't use useSelf_skill Heal and teleportAuto_minAggressivesInLock.
Teleporting on idle (a.k.a. "Tele Search") does not prevent you from teleporting when there's like 5 monsters (or even one, depending on your settings) attacking you.
It does simply teleport when there's nothing else to do. For that matter, "being hit" doesn't count as "something to do".
However, you'll only teleport due to idle when those aggressives are set to ignore (mon_control) and you're not about to fight them, since otherwise you wouldn't be quite "idle".
As for the teleport thingy: Kore always can get away, mostly without being hit (if your latency isn't utter crap, that is). You just have to use the instantaneous "No SP" Teleport or Fly Wings. My first class bots teleport away from some random BB'ed Valkyrie Randgris or Ifrit or something all the time.
That's why I'm sure you can Teleport -> Land in a mob of frenzied things that are trying to eat you alive -> HEAL and teleport right away -> You're most likely not dead!