Hi!
I'm just coming back from my retired and trying this baby (bot). I remember that in neo days I used to put a variable that returns true when a player is attacking (PK). I was thinking in use it in the persistent refillers that exist now days to get back in to town to refill and then logout in the bank while depositing.
The questing is, Whats the variable for a player attacking? I read something about pattacker but I'm not sure.
Thanks in advanced! I hope to contribute in the future to the comunity
Update: If you are looking for something similar I found that $pattacked.id > 0 might work as true if a player is attacking. I'll test in the next days