if this is a bot for rs dont bother. colour detection and click x click y are the only available ways to make a bot
and even then it takes endless man hours too keep them updated.
i tried and dispite my lack of knowledge succeeded, however, was outdone by jagex's many updates.
should you wish to make a corperate bot you need to get together a team of willing programmers from around the world with diferent timezones, set up a website with DL's and helpdesks and keep updating the bot everytime jagex updates the game.
~hope i helped.