session_logs()

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

Function Syntax

string [int] session_logs(int days )

string [int] session_logs(string name ,int days )

  • name is the (optional) player name to parse the logs of
  • days is the number of days, including today, to parse

Returns a map of your session log info, keyed by days from today. Will include as many days from today as supplied by days, using the logs of the character specified by name (which defaults to the currently-logged-in character).

More Information

For (slightly) more info on this topic, see the thread here