Scripting can be a lot of fun when you're starting out from my experience you're more likely to succeed with simple efficient logic rather than trying to implement pseudo anti-ban.
There's quite a few youtube tuts on simple scripts, what languages do you know at the moment? If you're a complete beginner I'd recommend using a single class and states rather than jumping straight into separating your methods into different classes. It's good practice, but not necessarily needed when you're just making a simple script.