If you are using v2.41, most scripts are out of date and not working, just wait until it is updated.
If you are using v2.39, Go to powerbot and find the script you are using (or one like it). Put the code/ precompiled file into your Sources folder, Compile-Scripts.bat and restart Rsbot.