There's a multitude of things that goes into the logic of the script. Yes the script will occasionally open up the skills tab to check xp, as would any other player. But that is one of the few things it does.
I won't go into details because we do not know who is lurking these forums for anti bot measures but the bot includes many other features that it performs while it is fighting monsters.
It also includes forming random paths each time it walks to and from monsters, forming maximum click boxes on NPCs/Objects and generating random clicks in this box each time it interacts, AFK mode where it acts likes the user is watching Netflix/off the screen.
Also, users are able to create their own "antiban", per say, by altering a few settings in the GUI. These include, but are not limited to, choosing when the bot will eat food, choosing when the bot will spec, a whole array of different leveling up features and gear profiles, personal looting so each user loots whatever item they choose and no two lists are the same, etc.
There are many other things but like I said I do not want to go into much detail as Jagex could monitor these forums and try to figure out how to combat these bots.