if (
(getGlobal("Ivan.isHome) == 1) ||
(getGlobal("Catherine.isHome) == 1)
){
setGlobal("Socket1.status, 1);
callMethod("Socket1.refresh);
}
if (getGlobal("Antonina.isHome) == 1){
setGlobal("Socket2.status, 1);
callMethod("Socket2.refresh);
}
Чита, Россия