*******************************
**For this tutorial, you need...
**Visual C++
**C++ Knowledge
**To know how to compile ArcEmu
*******************************
*******************************
**All credits for this tutorial go to:
**DrakeFish(me)
**I figured how to do this my myself
*******************************
This tutorial is basicaly easy to understand, but I'm also adding an extra code at the end that you need to follow one of my tutorials to understand it 
Making Other GMs see it when a GM login
You need to go in the CharacterHandler.cpp file of ArcEmu source and find sWorld.GetMotd . Make 2 line under it and paste this code:
Code:
if ( _player->GetSession()->CanUseCommand('0') )
{
char GMAnnounce[1024];
snprintf(GMAnnounce, 1024, "%s[Team]%s |Hplayer:%s|h[%s]|h just logged in.", MSG_COLOR_RED, MSG_COLOR_GREEN, _player->GetName(), _player->GetName());
sWorld.SendGMWorldText(GMAnnounce);
}
This is showing it to every online GMs when another GM login. The message will be looking like this:
[Team] [PlayerName] just logged in.
Extra Code: Making it as a .conf Option
For this extra code, you need to follow my tutorial about making new configurations. So you need to search for the same thign and do 2 lines under it. But the code will now be using 2 configuration functions. So paste this code:
Code:
if (sWorld.staff_login)
{
if (!sWorld.staff_login_player)
{
if ( _player->GetSession()->CanUseCommand('0') )
{
char GMAnnounce[1024];
snprintf(GMAnnounce, 1024, "%s[Team]%s |Hplayer:%s|h[%s]|h just logged in.", MSG_COLOR_RED, MSG_COLOR_GREEN, _player->GetName(), _player->GetName());
sWorld.SendGMWorldText(GMAnnounce);
}
}
if (sWorld.staff_login_player)
{
char msg[200];
snprintf(msg, 200, "%s[Team]%s |Hplayer:%s|h[%s]|h just logged in.", MSG_COLOR_RED, MSG_COLOR_GREEN, _player->GetName(), _player->GetName());
sWorld.SendWorldText(msg);
}
}
staff_login: This function needs to be Bool. In the .conf file, this function needs to be 1 to show the message and 0 to don't show it.
staff_login_player: This function needs to be Bool. In the .conf file, this functions will be 1 to show that the GM logged in to players and 0 to only show it to other GMs.
Enjoy this script!