@name Player aligner
@inputs 
@outputs Count Bots:array
@persist C D
@trigger all
C=1
D=0
findByClass("player")
findSortByDistance(entity():pos())
Bots=findToArray()
Count=Bots:count()
while(Count){
    Bots:entity(C):setPos(vec(0,D,0))
    C++ D+=100
}
selfDestruct()
# Performance monitoring and restriction has been implemented...
# Because of this while-loops have now been added! (also continue and break)
# Example: while(Val < Max) { Val++, if (Val == 10) { break } }
# opcounter(), minquota() and maxquota() will be documented on the wiki shortly.
# This is still in its youth and will be more features will be added over time!
#
# To increase quotas use wire_expression2_quotaXXX or wire_expression2_unlimited 1
#
# Arrays, tables and wirelinks now support [X]/[X,t]
# Example: Arr[1,string] = "hi!", Out = Tbl["me",number]
# Example: WL[401] = 2000, Out = XWL["pos",vector]
#
# If you have questions, feedback or problems, let us know:
# http://www.wiremod.com/forum/e2-development/12353-e2-performance-patch.html
#
#
# Documentation and examples available at:
# http://wiki.garrysmod.com/?title=Wire_Expression2
# The community is available at http://www.wiremod.com
