Forked from anonymous/gist:7276b3d57da36ffa6a86b71774a7ac5c
Last active
July 19, 2016 01:45
-
-
Save SwadicalRag/c24e7fe2903fe37d2c224cded5348b14 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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