Checking stats, join a random CC, random screen movement, opening an interface, unique paths each time, random wait times, have it act like it's gone afk for a minute or so every now and then. There's a lot you can do, take a look at other peoples antiban scripts for some ideas. Or just think how a normal player plays the game and have it mimic that.
EDIT: Are you scripting this for SCAR/Simba, or something like PowerBot?