@name gtable DEMO
@outputs B
@inputs A
@persist Table:gtable
interval(100)
if(first())
{
    Table = gTable("Index", 1) #0 only you can acces this table, even if someone else uses thesame index, 1 everyone can
    
}


if(~A)
{
    Table["Buttonz", number] = (A ? 1 : 0)
    Table["Trigerer", entity] = (A ? entity() : noentity())
}
if(changed(Table["Buttonz", number]) & Table["Buttonz", number] == 1 & Table["Trigerer", entity] != entity())
{
    print("The TABLE HAS BEEN UPDATEDZ!11!!!1")
    print("By E2: "+Table["Trigerer", entity]:id())
}
