Miscellaneous Functions: Difference between revisions
imported>Bale organization |
imported>Bale organization |
||
Line 8: | Line 8: | ||
{{Flink|boolean|is_online|string|desc=Check to see if a player is online.}} | {{Flink|boolean|is_online|string|desc=Check to see if a player is online.}} | ||
{{Flink|boolean [string]|who_clan|desc=Returns a list of whom is in your clan and if they are in chat.}} | {{Flink|boolean [string]|who_clan|desc=Returns a list of whom is in your clan and if they are in chat.}} | ||
== Debugging Functions == | == Debugging Functions == | ||
Line 28: | Line 20: | ||
{{Flink|int|count|aggregate|desc=Returns the number of defined keys for the specified aggregate.}} | {{Flink|int|count|aggregate|desc=Returns the number of defined keys for the specified aggregate.}} | ||
{{Flink|void|clear|aggregate|desc=Removes all keys from the specified aggregate.}} | {{Flink|void|clear|aggregate|desc=Removes all keys from the specified aggregate.}} | ||
== Time Functions == | |||
{{Flink|int|gameday_to_int|desc=Returns the current KoL date as an integer.}} | |||
{{Flink|string|gameday_to_string|desc=Returns the current KoL date as a string.}} | |||
{{Flink|int|gametime_to_int|desc=Returns the current KoL time in ms as an integer.}} | |||
{{Flink|string|now_to_string|string|desc=Returns current local time/date in SimpleDateFormat format.}} | |||
{{Flink|string|time_to_string|desc=Returns the current local time in HH:mm:ss z format.}} | |||
{{Flink|string|today_to_string|desc=Returns the current local day in ISO format.}} | |||
== User Interaction == | == User Interaction == |
Revision as of 10:57, 24 November 2011
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
boolean file_to_map( string, aggregate )
boolean map_to_file( aggregate, string )
void clear( aggregate )
Time Functions
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()
Additional functions that are considered not really to be ash functions are available in Misc ASH Features