@name Alphabet Soup Maker by Cenn

@inputs 
@outputs 
@persist VECTOR:vector SPAWN ZZ SpawnArray:array YY NUMBER2 NUMBER String2
@persist STRING Str:string [A B C D E F G H I J K L M N O P Q R S T U V W X Y Z EQUAL PERIOD ZERO ONE TWO THREE FOUR FIVE SIX SEVEN EIGHT NINE]:string Array:array TT
@trigger 
runOnTick(1)
NUMBER2++

if(NUMBER2 > 15){
NUMBER++
String2 = toByte(Str,NUMBER)

    NUMBER2 = 0
    
        
}
    runOnChat(1)
    Str = owner():lastSaid():lower()
if(first()){

NUMBER = 0

    


    A = "models/sprops/misc/alphanum/alphanum_l_a.mdl"
    B = "models/sprops/misc/alphanum/alphanum_l_b.mdl"
    C = "models/sprops/misc/alphanum/alphanum_l_c.mdl"
    D = "models/sprops/misc/alphanum/alphanum_l_d.mdl"
    E = "models/sprops/misc/alphanum/alphanum_l_e.mdl"
    F = "models/sprops/misc/alphanum/alphanum_l_f.mdl"
    G = "models/sprops/misc/alphanum/alphanum_l_g.mdl"
    H = "models/sprops/misc/alphanum/alphanum_l_h.mdl"
    I = "models/sprops/misc/alphanum/alphanum_l_i.mdl"
    J = "models/sprops/misc/alphanum/alphanum_l_j.mdl"
    K = "models/sprops/misc/alphanum/alphanum_l_k.mdl"
    L = "models/sprops/misc/alphanum/alphanum_l_l.mdl"
    M = "models/sprops/misc/alphanum/alphanum_l_m.mdl"
    N = "models/sprops/misc/alphanum/alphanum_l_n.mdl"
O = "models/sprops/misc/alphanum/alphanum_l_o.mdl"
P = "models/sprops/misc/alphanum/alphanum_l_p.mdl"
Q = "models/sprops/misc/alphanum/alphanum_l_q.mdl"
R = "models/sprops/misc/alphanum/alphanum_l_r.mdl"
S = "models/sprops/misc/alphanum/alphanum_l_s.mdl"
T = "models/sprops/misc/alphanum/alphanum_l_t.mdl"
U = "models/sprops/misc/alphanum/alphanum_l_u.mdl"
V = "models/sprops/misc/alphanum/alphanum_l_v.mdl"
W = "models/sprops/misc/alphanum/alphanum_l_w.mdl"
X = "models/sprops/misc/alphanum/alphanum_l_x.mdl"
Y = "models/sprops/misc/alphanum/alphanum_l_y.mdl"
Z = "models/sprops/misc/alphanum/alphanum_l_z.mdl"
ZERO = "models/sprops/misc/alphanum/alphanum_0.mdl"
ONE = "models/sprops/misc/alphanum/alphanum_1.mdl"
TWO = "models/sprops/misc/alphanum/alphanum_2.mdl"
THREE ="models/sprops/misc/alphanum/alphanum_3.mdl"
FOUR="models/sprops/misc/alphanum/alphanum_4.mdl"
FIVE="models/sprops/misc/alphanum/alphanum_5.mdl"
SIX="models/sprops/misc/alphanum/alphanum_6.mdl"
SEVEN="models/sprops/misc/alphanum/alphanum_7.mdl"
EIGHT="models/sprops/misc/alphanum/alphanum_8.mdl"
NINE="models/sprops/misc/alphanum/alphanum_9.mdl"
EQUAL = "models/sprops/misc/alphanum/alphanum_equal.mdl"
PLUS = "models/sprops/misc/alphanum/alphanum_plu.mdl"
PERIOD = "models/sprops/misc/alphanum/alphanum_prd.mdl"

Array:setString(97,A)
Array:setString(98,B)
Array:setString(99,C)
Array:setString(100,D)
Array:setString(101,E)
Array:setString(102,F)
Array:setString(103,G)
Array:setString(104,H)
Array:setString(105,I)
Array:setString(106,J)
Array:setString(107,K)
Array:setString(108,L)
Array:setString(109,M)
Array:setString(110,N)
Array:setString(111,O)
Array:setString(112,P)
Array:setString(113,Q)
Array:setString(114,R)
Array:setString(115,S)
Array:setString(116,T)
Array:setString(117,U)
Array:setString(118,V)
Array:setString(119,W)
Array:setString(120,X)
Array:setString(121,Y)
Array:setString(122,Z)
Array:setString(48,ZERO)
Array:setString(49,ONE)
Array:setString(50,TWO)
Array:setString(51,THREE)
Array:setString(52,FOUR)
Array:setString(53,FIVE)
Array:setString(54,SIX)
Array:setString(55,SEVEN)
Array:setString(56,EIGHT)
Array:setString(57,NINE)
Array:setString(61,EQUAL)
Array:setString(43,PLUS)
Array:setString(46,PERIOD)
STRING = 20
ZZ = 0
YY = 0



SPAWN = 0
TT=-5}

TT++




if(TT>10){
    TT=-5
        ZZ = ZZ - 20






HHH = propSpawn(Array:string(String2),entity():pos() + vec(ZZ,0,10),1)}
HHH:parentTo(entity())
HHH:propFreeze(0)
HHH:setColor(vec(randint(1,255),randint(1,255),randint(1,255)))
if(changed(ZZ)){YY++}


