Miscellaneous Functions: Difference between revisions
imported>QVamp m added link to similar section |
imported>Bale organization |
||
Line 29: | Line 29: | ||
{{Flink|void|clear|aggregate|desc=Removes all keys from the specified aggregate.}} | {{Flink|void|clear|aggregate|desc=Removes all keys from the specified aggregate.}} | ||
== | == User Interaction == | ||
{{Flink|void|print|string|{{opt|string}}|desc=Prints to CLI and status line of Adventuring window, optionally in a specified color.}} | {{Flink|void|print|string|{{opt|string}}|desc=Prints to CLI and status line of Adventuring window, optionally in a specified color.}} | ||
{{Flink|void|print_html|string|desc=Prints to CLI, parsing any included html.}} | {{Flink|void|print_html|string|desc=Prints to CLI, parsing any included html.}} | ||
{{Flink|void|logprint|string|desc=Prints to the session log.}} | {{Flink|void|logprint|string|desc=Prints to the session log.}} | ||
{{Flink|void|wait|int}} | {{Flink|void|wait|int}} | ||
{{Flink|void|waitq|int|desc=Sleeps for the specified number of seconds.}} | {{Flink|void|waitq|int|desc=Sleeps for the specified number of seconds.}} | ||
{{Flink|boolean|user_confirm|string|desc=Allows user input in Y/N format.}} | {{Flink|boolean|user_confirm|string|desc=Allows user input in Y/N format.}} | ||
== Other Functions == | |||
{{Flink|void|abort|{{opt|string}}|desc=Aborts the current script with an optional message.}} | |||
{{Flink|boolean|cli_execute|string|desc=Executes the given command as if it were entered into the CLI.}} | |||
{{Flink|string|get_property|string|desc=Gets a global or user preference as appropriate.}} | {{Flink|string|get_property|string|desc=Gets a global or user preference as appropriate.}} | ||
{{Flink|void|set_property|string|string|desc=Sets a global or user preference as appropriate.}} | {{Flink|void|set_property|string|string|desc=Sets a global or user preference as appropriate.}} |
Revision as of 10:56, 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()
Time Functions
int gameday_to_int()
string gameday_to_string()
string now_to_string( string )
string time_to_string()
string today_to_string()
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 )
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