Code:
public void OnPluginStart()
{
HookEntityOutput("func_door", "OnFullyOpen", OnDoorOpened);
}
public void OnDoorOpened(const char[] output, int caller, int activator, float delay)
{
if (activator > 0 && activator <= MaxClients && GetClientTeam(activator) == 3)
PrintToChatAll("%N has opened the door.", activator);
}
Something like this if it's a door and it's fully opened. There's a lot of things you can change with this to get it how you want.