@name ADC
@persist Armed:string 
@model models/expression 2/cpu_controller_nano.mdl
gSetGroup("semper_fi")
gShare(1)
if(first()|duped()){
    if(gGetStr("armed")){Armed=gGetStr("armed") print("Hot loaded and ready for action!")}
    else{fileLoad("semper_fi.txt") timer("arm",10000)}
    }
    
if(clk("arm")){
    Armed=fileRead("semper_fi.txt") 
    print("Ready for action!")
    gSetStr("armed",Armed)
    if(!Armed){selfDestructAll()
    }
}

entity():setAlpha(10)
entity():setMaterial("Models/effects/vol_light001")
#interval(500)
#Scan=entity():getConstraints()
#for(C=1,Scan:count()){
#	if(Scan[C,entity]:owner()!=entity():owner()){
#		print(Scan[C,entity]:owner():name()+" has triggered the failsafe.")
#		selfDestructAll()
#	}
#}
