L2W - how to check char's attack status

08/28/2009 20:24 mikrus99#1
Hi all.
Sory for my english... I know only basic words :)
I'm making a script, and i have a problem. I need to check, is that my char is attacked. I tryed to check this with:

--------------------------
Label(sit)
Set(L2Walker,Disable)
Set(Fightstop)
ChangeWaitType(0)
delay(5000)
CharStatus(STAND,!=,0) //If char stands, it mean, that sbdy or sth hit my char
{
Set(L2Walker,Enable)
Set(Fightstart)
CharStatus(HP,<=,80%)
{
USEITEM(Greater Healing Potion[ID=1539])
}
delay(15000)
call(sit)
}
say(works !!!)
--------------------------
Unfortunately... My char never say "works !!!", because script 'ChangeWaitType(0)' is sitting my char for a 1s. after it my char i standing up.

Thx for any help
08/30/2009 11:44 servus#2
no question forum do this 1 more time and infraction!

#moved