Skip to content

Commit 5832cc2

Browse files
author
Motive
committed
- Added a welcome message built into the engine.
1 parent d58b28e commit 5832cc2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Cortex.galaxy

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ include "Cortex/Chat/Chat.galaxy"
1616
include "Cortex/Events/Events.galaxy"
1717
include "Cortex/Commands/Commands.galaxy"
1818

19+
void libcrtx_Welcome()
20+
{
21+
libcrtx_write(PlayerGroupActive(), "Welcome to Cortex " + IntToString(libcrtx_version_major) + "." + IntToString(libcrtx_version_minor) + "." + IntToString(libcrtx_version_bugfix) + libcrtx_version_hotfix + ". Learn more about Cortex on the web at CortexRP.com, or join our Starcraft II channel, \"Roleplaying\".");
22+
}
23+
1924
bool libcrtx_MapCheck()
2025
{
2126
bool r = true;
@@ -69,4 +74,6 @@ void libcrtx_InitLib()
6974
libcrtx_admin_init();
7075
libcrtx_events_init();
7176
}
77+
78+
libcrtx_Welcome();
7279
}

0 commit comments

Comments
 (0)