If you mean how do you set a time limit on a match, set the TimeLimit variable for your match type, such as:
[XGame.xDeathMatch]
TimeLimit=30
If you mean how to check for two human players simultaneously, well, I'd say you just need to set a flag and do a check each time someone logs in. If someone ...