So something like that?
Code:
public client_putinserver(id)
{
set_task(2.0, "Function")
}
public Function(id)
{
if(is_user_connected(id)) {
new Name[33]
get_user_name(id,Name,32);
if(get_user_flags(id) & ADMIN_LEVEL_E) {
ColorChat(0, NORMAL, "Master^4 %s^1 joined the server!", Name);
return PLUGIN_HANDLED;
}