Ashref: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>Efilnikufecin
New page: ashref AshRef is not an actual ash function, it is a cli function. Enter "ashref" into the Graphical cli with no parameters will display a list of all available ASH scripting functi...
 
imported>Efilnikufecin
No edit summary
Line 10: Line 10:
==Example==
==Example==
Entering "ashref string" into the GCLI in subversion 5449 yields:<Br/>
Entering "ashref string" into the GCLI in subversion 5449 yields:<Br/>
<Br/>
 
<Br/>
<TABLE CELLPADDING=1 cellspacing=3 BORDER=1px>
<tr><td>
void enable( string )<Br/>
void enable( string )<Br/>
void disable( string )<Br/>
void disable( string )<Br/>
Line 66: Line 67:
float numeric_modifier( string )<Br/>
float numeric_modifier( string )<Br/>
boolean boolean_modifier( string )<Br/>
boolean boolean_modifier( string )<Br/>
</td></tr>
</table>

Revision as of 11:35, 31 December 2007

ashref

AshRef is not an actual ash function, it is a cli function.

Enter "ashref" into the Graphical cli with no parameters will display a list of all available ASH scripting functions.

Entering "ashref " an a partial command name will display all commands matching the partial command name entered.


Example

Entering "ashref string" into the GCLI in subversion 5449 yields:

void enable( string )
void disable( string )
boolean user_confirm( string )
void logprint( string )
void print( string )
void print( string, string )
void print_html( string )
void abort( string )
boolean cli_execute( string )
buffer load_html( string )
void write( string )
void writeln( string )
string form_field( string )
buffer visit_url( string )
string to_string( any )
item to_item( string )
class to_class( string )
stat to_stat( string )
skill to_skill( string )
effect to_effect( string )
location to_location( string )
familiar to_familiar( string )
monster to_monster( string )
string today_to_string( )
string [int] session_logs( string, int )
boolean outfit( string )
boolean have_outfit( string )
boolean contains_text( string, string )
int extract_meat( string )
int [item] extract_items( string )
int length( string )
int index_of( string, string )
int index_of( string, string, int )
int last_index_of( string, string )
int last_index_of( string, string, int )
string substring( string, int )
string substring( string, int, int )
string to_lower_case( string )
string to_upper_case( string )
matcher create_matcher( string, string )
string replace_string( buffer, string, string )
buffer replace_string( string, string, string )
string [int] split_string( string )
string [int] split_string( string, string )
string [int, int] group_string( string, string )
void chat_reply( string )
string url_encode( string )
string url_decode( string )
string get_property( string )
void set_property( string, string )
boolean file_to_map( string, aggregate )
boolean file_to_map( string, aggregate, boolean )
float numeric_modifier( string )
boolean boolean_modifier( string )