@name E2 List Reader (EGP) @inputs EGP:wirelink @persist ShowText:array interval(500) if(first()|duped()|dupefinished()){ EGP:egpClear() EGP:egpDrawTopLeft(1) EGP:egpTextLayout(1,"",vec2(0),vec2(512)) } ShowText:clear() findByClass(entity():type()) List = findToArray() for(N = 1,List:count()){ ShownText = " *["+N+"]['"+List:entity(N):owner():name()+"'] '"+List:entity(N):getName()+"' "+round(List:entity(N):cpuUsage()*1000000,0)+" CPU usage" ShowText:pushString(ShownText) EGP:egpSetText(1,ShowText:concat("\n")) } if(List:count() == 0){ EGP:egpSetText(1,"") }
Loading Info...