on *:sockread:script.update:{ var %ver :loop sockread -f %ver if (!$sockbr) return if (!%ver) %ver = - if (v*.* iswm %ver) echo -ag %ver goto loop }