@name Wire Investigator
@inputs 
@outputs [Output Input]:array
@persist 
@trigger 
interval(1000)
O=owner()
print(O:aimEntity():type())
if(O:aimEntity():type():find("wire")){
    Output=O:aimEntity():getWireOutputs()
    Input=O:aimEntity():getWireInputs()
    print("Outputs:")
    printTable(Output)
    print("Inputs:")
    printTable(Input)
}
