Created
October 18, 2010 17:52
-
-
Save foxxtrot/632667 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for x in ($goal_db:all_entries()) | |
row = $goal_db:find_exact(x); | |
temp = {}; | |
index = length(row); | |
starttime = time() - 432000; | |
while (index > 0 && row[index][1] > starttime ) | |
temp = listappend(temp, row); | |
index = index - 1; | |
endwhile | |
"At this point, temp contains all the entries for player X made in the last 5 days."; | |
endfor |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment