Imo its not possible. I was learning about l2w scripts for a short time, but its kinda lol. For example use skill commands are not working, you cant check buffs etc.
Use L2NET for that script. Check

for more infos about that.
EDIT: soz for double post, chrome failed again...