mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-05 12:24:20 +00:00
update welcome message, insert server name, not clomes team (by songeriux)
This commit is contained in:
+1
-1
@@ -3,4 +3,4 @@ Hello %USER%,
|
||||
Thank you for registering on our server.
|
||||
Since the %START% at %TIME% Romans, Gauls and Teutons attack each other on this game world. Right now, %PLAYERS% players in %ALLI% Alliances are fighting for supremacy.
|
||||
|
||||
TravianX Team
|
||||
Regards, %SERVER_NAME%
|
||||
@@ -3,4 +3,4 @@ Hello %USER%,
|
||||
Thank you for registering on our server.
|
||||
Since the %START% at %TIME% Romans, Gauls and Teutons attack each other on this game world. Right now, %PLAYERS% players in %ALLI% Alliances are fighting for supremacy.
|
||||
|
||||
TravianX Team
|
||||
Regards, %SERVER_NAME%
|
||||
@@ -358,6 +358,7 @@
|
||||
$welcomemsg = preg_replace("'%TIME%'", date("H:i", COMMENCE), $welcomemsg);
|
||||
$welcomemsg = preg_replace("'%PLAYERS%'", $database->countUser()-4, $welcomemsg);
|
||||
$welcomemsg = preg_replace("'%ALLI%'", $database->countAlli(), $welcomemsg);
|
||||
$welcomemsg = preg_replace("'%SERVER_NAME%'", SERVER_NAME, $welcomemsg);
|
||||
$welcomemsg = "[message]".$welcomemsg."[/message]";
|
||||
return $database->sendMessage($uid, 5, WEL_TOPIC, $welcomemsg, 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user