mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
random message example
This commit is contained in:
parent
e36397b247
commit
fce2dd0997
Server_Install_Pack/@epochhive/addons
Sources/epoch_server_settings/EpochEvents
Binary file not shown.
@ -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;
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user