Difference between revisions of "Set ccs"

From Kolmafia
Jump to navigation Jump to search
(create)
 
(param name)
 
Line 11: Line 11:
 
return_type={{#var:return_type}}|
 
return_type={{#var:return_type}}|
 
return_also={{#var:return_also}}|
 
return_also={{#var:return_also}}|
parameter1={{Param|string|image}}|
+
parameter1={{Param|string|name}}|
 
}}|
 
}}|
  

Latest revision as of 00:06, 9 January 2023

needs(code_samples);

Function Syntax

boolean set_ccs(string name )

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.

See Also

read_ccs() | write_ccs()