last_item_message()

From KoLMafia
Jump to: navigation, search
needs(code_samples);

Function Syntax

string last_item_message()

Returns the message that KoL reported in the event of error when trying to use an item. If the last item use was successful, then this will return an empty string.

See Also