Difference between revisions of "Runaway"

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
m (Created page with '{{ #vardefine:name|runaway}}{{ #vardefine:return_type|buffer}}{{ FunctionPage| name={{#var:name}}| function_category=In-combat Consulting| function1={{Function| name={{#var:nam…')
 
imported>StDoodle
m
Line 14: Line 14:
 
}}|
 
}}|
  
function_description=Attempts to run away from combat during a consult script, and returns the fight page text of the resulting round.|
+
function_description=Attempts to run away from combat during a consult script, and returns the html response text from said attempt.|
  
 
needscode=yes|
 
needscode=yes|

Revision as of 19:01, 10 March 2010

needs(code_samples);

Function Syntax

buffer runaway()

Attempts to run away from combat during a consult script, and returns the html response text from said attempt.

CLI Equivalent

The CCS entry of "run away" accomplishes the same function. (You can change your CCS with the command "ccs" on the CLI.)

See Also

attack() | throw_items() | use_skill()

More Information

See Consult Scripts for more information.

Special

Returns an empty buffer if used outside of a consult script.