@name 
@inputs 
@outputs 
@persist 
@trigger
InTeams=array() 
InTeams:pushNumber(1)
InTeams:pushNumber(2)
InTeams:pushNumber(3)
InTeams:pushNumber(4)
C=InTeams:count()
print("Start")
print("InTeams:count() "+C)
for(D=1,16){
Start=D%InTeams:count()
if(!Start){End=4}else{End=0}
Cycle=Start+End
print("Cycle="+Cycle+"  D/C "+D+"/"+C)
#print("Start: "+Start+" End: "+End)

}
print("End")
# Functionality for checking if inputs are connected have now been added.
# Example: if (->Input) { ... }
#
# Performance monitoring and restriction have been implemented.
# While-loops and for-loops now exist! (break and continue too)
# Example: while(Val < Max) { Val++, if (Val == 10) { break } }
# Example: for(I=Start, End) { ... }, for(I=Start, End, Step) { ... }
#
# Documentation and examples are available at:
# http://wiki.garrysmod.com/?title=Wire_Expression2
# The community is available at http://www.wiremod.com
