WOOT! The script was a horrible failure lol...
You have a timer problem in there too bud. See the %bandie_time #sCnt? How is your if hits < bandie_time statement ever going to be #true if the timer cannot EVER be > than #sCnt?

Read through it like a book from top to buttom and left to right to see what I"m saying. How is #sCnt going to EVER be greater than %bandie_time unless you specifically set it that way? You need #sCn't to be < OR = to #sCnt.

When you set a timer, you need to make sure it's initial condition can be matched by your variable so it can get started when the script starts. Also, your timers will count down, so say you do #sCnt + 10, it will start counting DOWN so your varaibles will most of the time read : if suchandsuchtime > #sCnt whatever...

The timer wont be greater than your variable usually unless that's SPECIFICALLY what you're looking for... hehe It will normally be set to higher than your variable, then the timer will count down and be LESS THAN your variable. Then you can check for < or >. But your initial setting of the timer needs to be something that your equation can start on. Say, set %bandie_time #sCnt, then you would need to do if %bandie_time >= #sCnt... so the initial scan for the timer will be #true enough to start doing the action.

set %bandie_time #sCnt
set %bandie ( #maxhits - 5 )
SUO:
repeat
if #hits < %bandie && #sCnt > %bandie_time
{
gosub Healme
set %bandie_time ( #sCnt + 10 )
}
wait 3
until #CharGhost = YES
while #CharGhost = YES
wait 0
GoTo SUO
sub Healme
wait 3
findItem #charID C_ , #backpackID
if #findKind = -1
return
set #lobjectID #findID
set #ltargetKind 1
event macro 17 0
target 2
event macro 23 0
wait 2
return
[/quote]