All you need to get started into Renoise scripting: a general introduction about the how, what, what not, how to enable the scripting developer console in Renoise, where to get example tools and so on, can be found at:
Please have a deep look at the documentation files there before scratching your head. If something’s still unclear, post your questions into this forum please, and we will try to help!