@name Anti Uber Device
@inputs On
@outputs  C Com:string Reset NotMaxedOut EntCheck Health Name:string
@persist C Reset On
interval(20)
Reset = !On
Say = "say !slay "
MaxplayersPlus1 = 21
NotMaxedOut = C!=MaxplayersPlus1 
Health = entity(C):health()
EntCheck = (entity(C):health() > 150)
Name = entity(C):name()
if (Reset) {C = 0}
if (C > MaxplayersPlus1) {C = 0}
if (On & NotMaxedOut & EntCheck) {
Com = Say + Name
C += 1

concmd(Com)
} else {C += 1}

