ID:177963
 
A verb called join

When clicked if their already two people that have joined tell the user they can't join.if the user thats in the joing spot hits join it tells them their already in.. if you are the first one in the joing spot your player 1 if not your player 2. then have it when you click on obj/card if its your turn it plays it if not it doesn't.. and make it cycle through turns. if you user takes to long it goes to the other guy/girl,if you use a card,once its done it cycles to the next card player.
Okay, here's what you want.
var
global
Players = 0
Turn = 0
TurnTimer = 0
TimeMax = 30

mob
var
PlayerNum = -1
verb
Join()
if(!usr.PlayerNum)
if(Players == 0)
usr << "You are player 1."
Players += 1
usr.PlayerNum = Players
if(Players == 1)
usr << "You are player 2."
Players += 1
usr.PlayerNum = Players
Turn = 1
else
usr << "The game is full."
else
usr << "You are already in the game!"

obj
Card
proc
Play(mob/M)
M << "Kersplat!"
world << "[M] plays a card!"
world.Turnchange()
Click()
if(usr.PlayerNum)
if(Turn == usr.PlayerNum)
src.Play(usr)
else
usr << "It's not your turn!"
else
usr << "No touchy touchy!"

world
proc
Turnchange()
TurnTimer = 0
Turn = (1 - Turn) + 2 //If Turn == 1, Turn = 1 - 1 + 2 = 2, if Turn == 2, Turn = 1 - 2 + 2 = 1.
world << "It is now player [Turn]'s turn."
Timer()
TurnTimer += 1
if(TurnTimer == TimeMax)
world << "Player [Turn] has taken too long."
Turnchange()
spawn(10) Timer()
New()
spawn() Timer()