Yeah, highly unlikely that you'll figure it out though. By saying that, I'm saying that I haven't figured it out either, but I know it's possible. I spent maybe 10 minutes trying and then I realized it wasn't worth it.
BTW, just learn to script in Scar. You're probably looking for an autofigher since that's the only thing to do in most privates. I would just try to script something that logs you in when you log out *hint* Private servers have shit for auto detection besides kids telling on you, so a bot that auto clicks monsters isn't a good idea.
I had previous programming knowledge, but I have never touched scar before, and it only took me 10 minutes to make what I just described. I could spend more time on it and make it better, but there really is no need to lol.