try wrapping the command in quotes,
sudo "java -jar \"/OSBot 2.5.3.jar\" -login -bot -proxy -world 302 -script 671:1,2,1,0"
also you shouldn't have to use sudo
edit: nvm that wont work, escape the commas with backslashes
java -jar "/OSBot 2.5.3.jar" -login -bot -proxy -world 302 -script 671:1\,2\,1\,0