Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save SwadicalRag/c24e7fe2903fe37d2c224cded5348b14 to your computer and use it in GitHub Desktop.
Save SwadicalRag/c24e7fe2903fe37d2c224cded5348b14 to your computer and use it in GitHub Desktop.
@name EGPE2Finder
@inputs EGP:wirelink E2:array
@persist
if(first()|dupefinished()){
EGP:egpBox(hash("base"),vec2(255,255),vec2(475,475))
EGP:egpColor(hash("base"),vec(100,100,100))
}
interval(100)
if(findCanQuery()) {
findByClass("wire_expression_2")
E2 = findToArray()
}
local Amt = 0
for(I=1,E2:count()){
Amt++
if(E2[I,entity]:isValid()) {
EGP:egpText(Amt," " + E2[I,entity]:owner():name(),vec2(0,150))
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment