random message example

This commit is contained in:
vbawol 2015-09-26 16:40:46 -05:00
parent e36397b247
commit fce2dd0997
2 changed files with 14 additions and 0 deletions
Server_Install_Pack/@epochhive/addons
Sources/epoch_server_settings/EpochEvents

@ -1,2 +1,16 @@
// Random Messages
_messages = [
"Message 1",
"Message 2",
"Message 3",
"Message 4",
];
["message", _messages param [floor(random (count _messages))]] call EPOCH_serverCommand;
// Restart time
/*
_restartIn = round((EPOCH_forceRestartTime-diag_tickTime)/60);
["message", format["Welcome to Epoch Mod, server wlll restart in %1 minutes",_restartIn]] call EPOCH_serverCommand;
*/