Session logs: Difference between revisions
Jump to navigation
Jump to search
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…' |
imported>Bale mNo edit summary |
||
Line 6: | Line 6: | ||
FunctionPage| | FunctionPage| | ||
name={{#var:name}}| | name={{#var:name}}| | ||
function1={{Function| | function1={{Function| | ||
Line 33: | Line 32: | ||
more_info=For (slightly) more info on this topic, see the thread [http://kolmafia.us/showthread.php?t=573 here]| | more_info=For (slightly) more info on this topic, see the thread [http://kolmafia.us/showthread.php?t=573 here]| | ||
}} | }} | ||
[[Category:String Handling Routines]] |
Latest revision as of 05:13, 22 May 2010
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