Commit 0af61cf1 authored by Nico Schallehn's avatar Nico Schallehn

James braucht nun 2 Sekunden zum antworten

parent 46ee7f26
......@@ -37,7 +37,7 @@ function ChatNachricht($text, $admin, $userchange ){
//mysql_query("UPDATE user SET chat = '".mysql_insert_id()."' WHERE id = '{$_SESSION['chatuserid']}'");
if ((preg_match("/James/i",$text)) OR ($UserID == 1))
{
$time = time()+1;
$time = time()+2;
if (preg_match("/wie/i",$text) AND preg_match("/geht/i",$text))
$JamesText= "Mir geht es gut und dir ".IDtoUsername($_SESSION['chatuserid'])."?";
else if(preg_match("/danke/i",$text))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment