Botting is not illegal. It is against Runescape TOS, but the only thing that they can do is ban you. RWTing isn't illegal either, but if you do trade a lot of gold then the government might want you to pay taxes, but screw the government trying to take peoples money so they can fix their 15 trillion dollar debt.