Session logs

From Kolmafia
Revision as of 16:26, 12 March 2010 by imported>StDoodle (Created page with '{{ #vardefine:name|session_logs}}{{ #vardefine:return_type|string [int]}}{{ #vardefine:aggregate|yes}}{{ FunctionPage| name={{#var:name}}| function_category=String Handling Rout…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to 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