Miscellaneous Functions: Difference between revisions
imported>QVamp m added link to get more info on maps |
imported>Bale get_player_id |
||
Line 51: | Line 51: | ||
{{Flink|int|get_revision|desc=Returns the current KoLmafia revision number.}} | {{Flink|int|get_revision|desc=Returns the current KoLmafia revision number.}} | ||
{{Flink|string|get_version|desc=Returns the most recent KoLmafia version.}} | {{Flink|string|get_version|desc=Returns the most recent KoLmafia version.}} | ||
{{Flink|string|get_player_id|string|desc=Returns the most recent KoLmafia version.}} | |||
Additional functions that are considered not really to be ash functions are available in [[Miscellaneous ASH Features#Special Syntax Functions|Misc ASH Features]] | Additional functions that are considered not really to be ash functions are available in [[Miscellaneous ASH Features#Special Syntax Functions|Misc ASH Features]] | ||
[[Category:Scripting]] | [[Category:Scripting]] |
Revision as of 09:03, 7 November 2014
Chat Functions
void chat_clan( string )
void chat_clan( string, string )
void chat_macro( string )
void chat_notify( string, string )
void chat_private( string, string )
boolean is_online( string )
boolean [string] who_clan()
Debugging Functions
void disable( string )
void enable( string )
buffer load_html( string )
string make_url( string, boolean, boolean )
Map Management Functions
Note: Information about maps (including creating, assigning, and removing keys, can be found at: Map Data Structures
boolean file_to_map( string, aggregate )
boolean map_to_file( aggregate, string )
void clear( aggregate )
Time Functions
string format_date_time( string, string, string )
int gameday_to_int()
string gameday_to_string()
string now_to_string( string )
string time_to_string()
string today_to_string()
User Interaction
void print( string, [string] )
void print_html( string )
void logprint( string )
void wait( int )
void waitq( int )
boolean user_confirm( string )
Other Functions
void abort( [string] )
boolean cli_execute( string )
string get_property( string )
void set_property( string, string )
void batch_open()
batch_close()
for details).boolean batch_close()
int get_revision()
string get_version()
string get_player_id( string )
Additional functions that are considered not really to be ash functions are available in Misc ASH Features