Created
June 20, 2009 02:45
-
-
Save jedahan/133013 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
foreach line | |
if line.contains("Game reset started") | |
endtime = line.column(4) + 00:02 | |
marines = {} | |
aliens = {} | |
foreach line | |
if line.column(4) >= endtime | |
break | |
id = line.extract(STEAM_?:?:*>) | |
team = line.extract("*1team") | |
if team=="marine" | |
if aliens.contains(id) | |
markTeamSwitch(id) | |
else | |
marines.add(id) | |
else | |
if marines.contains(id) | |
markTeamSwitch(id) | |
else | |
aliens.add(id) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment