@name 
@inputs Button
@outputs User R G T 
@persist TIME2 TIME
@trigger 
if(first()){T=0
    #In minutes
    TIME = 8
    }
interval(1)
if(Button==1){
    if(T==0){

    User = 1
    timer("wait",100)
}
}
TIME2 = TIME * 60000
if(T==1){R = 255
    G = 0}
if(T==0){    R = 0
    G = 255}
if(clk("wait")){
    User= 0
    timer("reset",TIME2)
T = 1}

if(clk("reset")){T=0}
