- Code: Select all
public override void Init()
{
Player.Joined += (object sender, PlayerEventArgs e) =>
{
if (e.Player.name = "leebyrne115@gmail.com")
Player.GlobalMessage("%f[%bLeeBot%f]: Haii Owner!");
else
{
Player.GlobalMessage("%f[%bLeeBot%f]: Hey %ap.name! %fWelcome to $server.:D");
}
};
But it doesn't allow the .name part to be used, is there anyway I can add it in?