All pastes #408406 Raw Edit

Stuff

public lua v1 · immutable
#408406 ·published 2007-03-24 20:13 UTC
rendered paste body
a = 0Connected = ()Delay("TimeUpdate")function OnPlayerChat(PlayerID,Message)		if Message == "/time" then		Time(PlayerID)	endendfunction OnPlayerJoin(PlayerID)        Connected[PlayerID] = 1endfunction Time(PlayerID)	if a == 100 then return SendToPlayer(PlayerID,"Monday",255,255,255) end        else if a == 200 then return SendToPlayer(PlayerID,"Tuesday",255,255,255) end	else if a == 300 then return SendToPlayer(PlayerID,"Wednesday",255,255,255) endendfunction TimeUpdate()	for i=0 i<2 i++ then		if Connected[PlayerID] == 1 then return a++ end		end		endend