That's very strange, unless the bot some reason thought that the NPC you were attacking is in varrock (which is very unlikely) this would not happen. Scan your PC, especially if you've downloaded something dodgy which was runescape related lately.
Thanks for letting me know, I'll find out if...