Set ccs
needs(code_samples);
Function Syntax
Sets your custom combat script. Returns success. Note that you will need to set the battleAction preference to "custom combat script" as well and possibly disable autoattack for custom combat scripts to be useful.