Compressing Script

I was wondering if anyone knows of a way to compress this script? It’s rather lengthy and I’d like to fit more in the Maestro actually.

[code]begin

11 get_position 500 less_than

if
500 7882 8000 3968 3968 8000 3968
8000 3968 8000 3968 8000 frame_0…10 # Frame 0
500 3968 3968 8000 8000 3968 8000
3968 8000 3968 8000 3968 frame_0…10 # Frame 1
500 7882 8000 3968 3968 8000 3968
8000 3968 8000 3968 8000 frame_0…10 # Frame 0
500 3968 3968 8000 8000 3968 8000
3968 8000 3968 8000 3968 frame_0…10 # Frame 1
500 7882 8000 3968 3968 8000 3968
8000 3968 8000 3968 8000 frame_0…10 # Frame 0
500 3968 3968 8000 8000 3968 8000
3968 8000 3968 8000 3968 frame_0…10 # Frame 1
500 7882 8000 3968 3968 8000 3968
8000 3968 8000 3968 8000 frame_0…10 # Frame 0
500 3968 3968 8000 8000 3968 8000
3968 8000 3968 8000 3968 frame_0…10 # Frame 1
500 7882 8000 3968 3968 8000 3968
8000 3968 8000 3968 8000 frame_0…10 # Frame 0
500 3968 3968 8000 8000 3968 8000
3968 8000 3968 8000 3968 frame_0…10 # Frame 1
500 7882 8000 3968 3968 8000 3968
8000 3968 8000 3968 8000 frame_0…10 # Frame 0
500 3968 3968 8000 8000 3968 8000
3968 8000 3968 8000 3968 frame_0…10 # Frame 1
500 7882 8000 3968 3968 8000 3968
8000 3968 8000 3968 8000 frame_0…10 # Frame 0
500 3968 3968 8000 8000 3968 8000
3968 8000 3968 8000 3968 frame_0…10 # Frame 1
500 7882 8000 3968 3968 8000 3968
8000 3968 8000 3968 8000 frame_0…10 # Frame 0
500 3968 3968 8000 8000 3968 8000
3968 8000 3968 8000 3968 frame_0…10 # Frame 1
2300 3968 3968 3968 3968 3968 3968
3968 3968 3968 3968 3968 frame_0…10# Frame 0
200 4320 4339 4359 4339 4320 4359
4320 4339 4320 4339 4359 frame_0…10 # Frame 17
2100 3968 3968 3968 3968 3968 3968
3968 3968 3968 3968 3968 frame_0…10 # Frame 0
200 4692 4692 4672 4653 4653 4633
4633 4653 4633 4633 4633 frame_0…10 # Frame 19
2000 3968 3968 3968 3968 3968 3968
3968 3968 3968 3968 3968 frame_0…10 # Frame 0
200 5064 5064 5024 5024 5044 5024
5024 5005 5044 5044 5044 frame_0…10 # Frame 21
1700 3968 3968 3968 3968 3968 3968
3968 3968 3968 3968 3968 frame_0…10 # Frame 0
200 5514 5514 5514 5533 5514 5553
5514 5533 5553 5553 5572 frame_0…10 # Frame 24
1400 3968 3968 3968 3968 3968 3968
3968 3968 3968 3968 3968 frame_0…10 # Frame 0
200 5984 6003 5964 5984 5964 6003
5984 5925 5964 5984 5984 frame_0…10 # Frame 26
1300 3968 3968 3968 3968 3968 3968
3968 3968 3968 3968 3968 frame_0…10 # Frame 0
200 6532 6512 6492 6571 6551 6551
6551 6551 6571 6571 6551 frame_0…10 # Frame 27
1000 3968 3968 3968 3968 3968 3968
3968 3968 3968 3968 3968 frame_0…10 # Frame 0
200 7001 6962 6962 6923 6962 7040
6943 7001 6943 6943 6962 frame_0…10 # Frame 29
700 3968 3968 3968 3968 3968 3968
3968 3968 3968 3968 3968 frame_0…10 # Frame 0
200 7451 7412 7451 7412 7432 7451
7451 7412 7412 7393 7373 frame_0…10 # Frame 31
700 3968 3968 3968 3968 3968 3968
3968 3968 3968 3968 3968 frame_0…10 # Frame 0
200 8000 8000 8000 8000 8000 8000
8000 8000 8000 8000 8000 frame_0…10 # Frame 33
700 3968 3968 3968 3968 3968 3968
3968 3968 3968 3968 3968 frame_0…10 # Frame 0
200 8000 8000 8000 8000 8000 8000
8000 8000 8000 8000 8000 frame_0…10 # Frame 35
500 3968 3968 3968 3968 3968 3968
3968 3968 3968 3968 3968 frame_0…10 # Frame 0
200 8000 8000 8000 8000 8000 8000
8000 8000 8000 8000 8000 frame_0…10 # Frame 37
500 3968 3968 3968 3968 3968 3968
3968 3968 3968 3968 3968 frame_0…10 # Frame 0
200 8000 8000 8000 8000 8000 8000
8000 8000 8000 8000 8000 frame_0…10 # Frame 39
500 3968 3968 3968 3968 3968 3968
3968 3968 3968 3968 3968 frame_0…10 # Frame 0
200 8000 8000 8000 8000 8000 8000
8000 8000 8000 8000 8000 frame_0…10 # Frame 41
300 3968 3968 3968 3968 3968 3968
3968 3968 3968 3968 3968 frame_0…10 # Frame 0
200 8000 8000 8000 8000 8000 8000
8000 8000 8000 8000 8000 frame_0…10 # Frame 43
300 3968 3968 3968 3968 3968 3968
3968 3968 3968 3968 3968 frame_0…10 # Frame 0
200 8000 8000 8000 8000 8000 8000
8000 8000 8000 8000 8000 frame_0…10 # Frame 45
300 3968 3968 3968 3968 3968 3968
3968 3968 3968 3968 3968 frame_0…10 # Frame 0
200 8000 8000 8000 8000 8000 8000
8000 8000 8000 8000 8000 frame_0…10 # Frame 47
300 3968 3968 3968 3968 3968 3968
3968 3968 3968 3968 3968 frame_0…10 # Frame 0
200 8000 8000 8000 8000 8000 8000
8000 8000 8000 8000 8000 frame_0…10 # Frame 49
300 3968 3968 3968 3968 3968 3968
3968 3968 3968 3968 3968 frame_0…10 # Frame 0
200 8000 8000 8000 8000 8000 8000
8000 8000 8000 8000 8000 frame_0…10 # Frame 51
300 3968 3968 3968 3968 3968 3968
3968 3968 3968 3968 3968 frame_0…10 # Frame 0
200 8000 8000 8000 8000 8000 8000
8000 8000 8000 8000 8000 frame_0…10 # Frame 53
115 5984 3968 3968 3968 3968 3968
8000 8000 3968 3968 3968 frame_0…10 # Frame 0
115 8000 8000 8000 8000 frame_1_4_8_10 # Frame 1
115 3968 3968 3968 3968 frame_1_4_8_10 # Frame 0
115 8000 8000 8000 8000 frame_1_4_8_10 # Frame 1
115 3968 3968 3968 3968 frame_1_4_8_10 # Frame 0
115 8000 8000 8000 8000 frame_1_4_8_10 # Frame 1
115 3968 3968 3968 3968 frame_1_4_8_10 # Frame 0
115 8000 8000 8000 8000 frame_1_4_8_10 # Frame 1
115 3968 3968 3968 3968 frame_1_4_8_10 # Frame 0
115 8000 8000 8000 8000 frame_1_4_8_10 # Frame 1
115 3968 3968 3968 3968 frame_1_4_8_10 # Frame 0
115 8000 8000 8000 8000 frame_1_4_8_10 # Frame 1
115 3968 3968 3968 3968 frame_1_4_8_10 # Frame 0
115 8000 8000 8000 8000 frame_1_4_8_10 # Frame 1
115 3968 3968 3968 3968 frame_1_4_8_10 # Frame 0
115 8000 8000 8000 8000 frame_1_4_8_10 # Frame 1
115 3968 3968 3968 3968 frame_1_4_8_10 # Frame 0
115 8000 8000 8000 8000 frame_1_4_8_10 # Frame 1
115 3968 3968 3968 3968 frame_1_4_8_10 # Frame 0
115 8000 8000 8000 8000 frame_1_4_8_10 # Frame 1
115 3968 3968 3968 3968 frame_1_4_8_10 # Frame 0
115 8000 8000 8000 8000 frame_1_4_8_10 # Frame 1
115 3968 3968 3968 3968 frame_1_4_8_10 # Frame 0
115 8000 8000 8000 8000 frame_1_4_8_10 # Frame 1
115 3968 3968 3968 3968 frame_1_4_8_10 # Frame 0
115 8000 8000 8000 8000 frame_1_4_8_10 # Frame 1
115 3968 3968 3968 3968 frame_1_4_8_10 # Frame 0
115 8000 8000 8000 8000 frame_1_4_8_10 # Frame 1
115 3968 3968 3968 3968 frame_1_4_8_10 # Frame 0
115 8000 8000 8000 8000 frame_1_4_8_10 # Frame 1
115 3968 3968 3968 3968 frame_1_4_8_10 # Frame 0
115 8000 8000 8000 8000 frame_1_4_8_10 # Frame 1
250 3968 3968 3968 3968 3968 3968
3968 frame_0_1_4_6…8_10 # Frame 32
250 8000 frame_7 # Frame 33
250 8000 frame_6 # Frame 34
250 8000 frame_5 # Frame 35
250 8000 frame_4 # Frame 36
250 8000 frame_3 # Frame 37
250 8000 frame_2 # Frame 38
250 8000 frame_1 # Frame 39
250 8000 frame_0 # Frame 40
250 8000 frame_8 # Frame 41
250 8000 frame_9 # Frame 42
250 8000 frame_10 # Frame 43
250 3968 3968 3968 3968 3968 3968
3968 3968 3968 3968 3968 frame_0…10 # Frame 32
250 8000 frame_7 # Frame 33
250 8000 frame_6 # Frame 34
250 8000 frame_5 # Frame 35
250 8000 frame_4 # Frame 36
250 8000 frame_3 # Frame 37
250 8000 frame_2 # Frame 38
250 8000 frame_1 # Frame 39
250 8000 frame_0 # Frame 40
250 8000 frame_8 # Frame 41
250 8000 frame_9 # Frame 42
250 8000 frame_10 # Frame 43
115 5984 3968 3968 3968 3968 3968
8000 8000 3968 3968 3968 frame_0…10 # Frame 0
115 8000 8000 8000 8000 frame_1_4_8_10 # Frame 1
115 3968 3968 3968 3968 frame_1_4_8_10 # Frame 0
115 8000 8000 8000 8000 frame_1_4_8_10 # Frame 1
115 3968 3968 3968 3968 frame_1_4_8_10 # Frame 0
115 8000 8000 8000 8000 frame_1_4_8_10 # Frame 1
115 3968 3968 3968 3968 frame_1_4_8_10 # Frame 0
115 8000 8000 8000 8000 frame_1_4_8_10 # Frame 1
115 3968 3968 3968 3968 frame_1_4_8_10 # Frame 0
115 8000 8000 8000 8000 frame_1_4_8_10 # Frame 1
115 3968 3968 3968 3968 frame_1_4_8_10 # Frame 0
115 8000 8000 8000 8000 frame_1_4_8_10 # Frame 1
115 3968 3968 3968 3968 frame_1_4_8_10 # Frame 0
115 8000 8000 8000 8000 frame_1_4_8_10 # Frame 1
115 3968 3968 3968 3968 frame_1_4_8_10 # Frame 0
115 8000 8000 8000 8000 frame_1_4_8_10 # Frame 1
115 3968 3968 3968 3968 frame_1_4_8_10 # Frame 0
115 8000 8000 8000 8000 frame_1_4_8_10 # Frame 1
115 3968 3968 3968 3968 frame_1_4_8_10 # Frame 0
115 8000 8000 8000 8000 frame_1_4_8_10 # Frame 1
115 3968 3968 3968 3968 frame_1_4_8_10 # Frame 0
115 8000 8000 8000 8000 frame_1_4_8_10 # Frame 1
115 3968 3968 3968 3968 frame_1_4_8_10 # Frame 0
115 8000 8000 8000 8000 frame_1_4_8_10 # Frame 1
115 3968 3968 3968 3968 frame_1_4_8_10 # Frame 0
115 8000 8000 8000 8000 frame_1_4_8_10 # Frame 1
115 3968 3968 3968 3968 frame_1_4_8_10 # Frame 0
115 8000 8000 8000 8000 frame_1_4_8_10 # Frame 1
115 3968 3968 3968 3968 frame_1_4_8_10 # Frame 0
115 8000 8000 8000 8000 frame_1_4_8_10 # Frame 1
115 3968 3968 3968 3968 frame_1_4_8_10 # Frame 0
115 8000 8000 8000 8000 frame_1_4_8_10 # Frame 1
250 3968 3968 3968 3968 3968 3968
3968 frame_0_1_4_6…8_10 # Frame 32
250 8000 frame_7 # Frame 33
250 8000 frame_6 # Frame 34
250 8000 frame_5 # Frame 35
250 8000 frame_4 # Frame 36
250 8000 frame_3 # Frame 37
250 8000 frame_2 # Frame 38
250 8000 frame_1 # Frame 39
250 8000 frame_0 # Frame 40
250 8000 frame_8 # Frame 41
250 8000 frame_9 # Frame 42
250 8000 frame_10 # Frame 43
250 3968 3968 3968 3968 3968 3968
3968 3968 3968 3968 3968 frame_0…10 # Frame 32
250 8000 frame_7 # Frame 33
250 8000 frame_6 # Frame 34
250 8000 frame_5 # Frame 35
250 8000 frame_4 # Frame 36
250 8000 frame_3 # Frame 37
250 8000 frame_2 # Frame 38
250 8000 frame_1 # Frame 39
250 8000 frame_0 # Frame 40
250 8000 frame_8 # Frame 41
250 8000 frame_9 # Frame 42
250 8000 frame_10 # Frame 43
115 5984 3968 3968 3968 3968 3968
8000 8000 3968 3968 3968 frame_0…10 # Frame 0
115 8000 8000 8000 8000 frame_1_4_8_10 # Frame 1
115 3968 3968 3968 3968 frame_1_4_8_10 # Frame 0
115 8000 8000 8000 8000 frame_1_4_8_10 # Frame 1
115 3968 3968 3968 3968 frame_1_4_8_10 # Frame 0
115 8000 8000 8000 8000 frame_1_4_8_10 # Frame 1
115 3968 3968 3968 3968 frame_1_4_8_10 # Frame 0
115 8000 8000 8000 8000 frame_1_4_8_10 # Frame 1
115 3968 3968 3968 3968 frame_1_4_8_10 # Frame 0
115 8000 8000 8000 8000 frame_1_4_8_10 # Frame 1
115 3968 3968 3968 3968 frame_1_4_8_10 # Frame 0
115 8000 8000 8000 8000 frame_1_4_8_10 # Frame 1
115 3968 3968 3968 3968 frame_1_4_8_10 # Frame 0
115 8000 8000 8000 8000 frame_1_4_8_10 # Frame 1
115 3968 3968 3968 3968 frame_1_4_8_10 # Frame 0
115 8000 8000 8000 8000 frame_1_4_8_10 # Frame 1
115 3968 3968 3968 3968 frame_1_4_8_10 # Frame 0
115 8000 8000 8000 8000 frame_1_4_8_10 # Frame 1
115 3968 3968 3968 3968 frame_1_4_8_10 # Frame 0
115 8000 8000 8000 8000 frame_1_4_8_10 # Frame 1
115 3968 3968 3968 3968 frame_1_4_8_10 # Frame 0
115 8000 8000 8000 8000 frame_1_4_8_10 # Frame 1
115 3968 3968 3968 3968 frame_1_4_8_10 # Frame 0
115 8000 8000 8000 8000 frame_1_4_8_10 # Frame 1
115 3968 3968 3968 3968 frame_1_4_8_10 # Frame 0
115 8000 8000 8000 8000 frame_1_4_8_10 # Frame 1
115 3968 3968 3968 3968 frame_1_4_8_10 # Frame 0
115 8000 8000 8000 8000 frame_1_4_8_10 # Frame 1
115 3968 3968 3968 3968 frame_1_4_8_10 # Frame 0
115 8000 8000 8000 8000 frame_1_4_8_10 # Frame 1
115 3968 3968 3968 3968 frame_1_4_8_10 # Frame 0
115 8000 8000 8000 8000 frame_1_4_8_10 # Frame 1
250 3968 3968 3968 3968 3968 3968
3968 frame_0_1_4_6…8_10 # Frame 32
250 8000 frame_7 # Frame 33
250 8000 frame_6 # Frame 34
250 8000 frame_5 # Frame 35
250 8000 frame_4 # Frame 36
250 8000 frame_3 # Frame 37
250 8000 frame_2 # Frame 38
250 8000 frame_1 # Frame 39
250 8000 frame_0 # Frame 40
250 8000 frame_8 # Frame 41
250 8000 frame_9 # Frame 42
250 8000 frame_10 # Frame 43
250 3968 3968 3968 3968 3968 3968
3968 3968 3968 3968 3968 frame_0…10 # Frame 32
100 8000 frame_7 # Frame 33
100 8000 frame_6 # Frame 34
100 8000 frame_5 # Frame 35
100 8000 frame_4 # Frame 36
100 8000 frame_3 # Frame 37
100 8000 frame_2 # Frame 38
100 8000 frame_1 # Frame 39
100 8000 frame_0 # Frame 40
100 8000 frame_8 # Frame 41
100 8000 frame_9 # Frame 42
100 8000 frame_10 # Frame 43
275 3968 3968 8000 3968 3968 3968
8000 8000 3968 3968 8000 frame_0…10 # Full
2300 4398 4320 3968 4281 frame_2_6_7_10 # Dim
275 8000 8000 8000 8000 frame_2_6_7_10 # Full
2000 4398 4320 3968 4281 frame_2_6_7_10 # Dim
275 8000 8000 8000 8000 frame_2_6_7_10 # Full
2000 4398 4320 3968 4281 frame_2_6_7_10 # Dim
275 8000 8000 8000 8000 frame_2_6_7_10 # Full
2100 4398 4320 3968 4281 frame_2_6_7_10 # Dim
275 8000 8000 8000 8000 frame_2_6_7_10 # Full
2100 4398 4320 3968 4281 frame_2_6_7_10 # Dim
275 8000 8000 8000 8000 frame_2_6_7_10 # Full
2100 4398 4320 3968 4281 frame_2_6_7_10 # Dim
275 8000 8000 8000 8000 frame_2_6_7_10 # Full
2100 4398 4320 3968 4281 frame_2_6_7_10 # Dim
275 8000 8000 8000 8000 8000 8000
8000 8000 8000 8000 8000 frame_0…10 # Full
2000 3968 3968 3968 3968 3968 3968
3968 frame_1…4_7_8_10 # Frame 15
375 8000 frame_1 # Channel 1 pop
2100 3968 frame_1 # Frame 15
375 8000 frame_2 # Channel 2 pop
2000 3968 frame_2 # Frame 15
375 8000 frame_3 # Channel 3 Pop
2000 3968 frame_3 # Frame 15
375 8000 frame_4 # Channel 4 pop
2000 3968 frame_4 # Frame 15
375 8000 frame_7 # Channel 7 Pop
2000 3968 frame_7 # Frame 15
375 8000 frame_8 # Channel 8 Pop
2000 3968 frame_8 # Frame 15
375 8000 frame_10 # Channel 10 Pop
2000 3968 frame_10 # Frame 15
375 8000 frame_1 # Channel 1 pop
2100 3968 frame_1 # Frame 15
375 8000 frame_2 # Channel 2 pop
2000 3968 frame_2 # Frame 15
375 8000 frame_3 # Channel 3 Pop
2000 3968 frame_3 # Frame 15
375 8000 frame_4 # Channel 4 pop
2000 3968 frame_4 # Frame 15
375 8000 frame_7 # Channel 7 Pop
2000 3968 frame_7 # Frame 15
375 8000 frame_8 # Channel 8 Pop
2100 3968 frame_8 # Frame 15
375 8000 frame_10 # Channel 10 Pop
2000 3968 frame_10 # Frame 15
375 8000 frame_1 # Channel 1 pop
2000 3968 frame_1 # Frame 15
375 8000 frame_2 # Channel 2 pop
2100 3968 frame_2 # Frame 15
375 8000 frame_3 # Channel 3 Pop
2000 3968 frame_3 # Frame 15
400 8000 frame_4 # Channel 4 pop
2000 3968 frame_4 # Frame 15
375 8000 frame_7 # Channel 7 Pop
2000 3968 frame_7 # Frame 15
375 8000 frame_8 # Channel 8 Pop
2000 3968 frame_8 # Frame 15
375 8000 frame_10 # Channel 10 Pop
2000 3968 frame_10 # Frame 15
375 8000 frame_1 # Channel 1 pop
2000 3968 frame_1 # Frame 15
375 8000 frame_2 # Channel 2 pop
2000 3968 frame_2 # Frame 15
375 8000 frame_3 # Channel 3 Pop
2000 3968 frame_3 # Frame 15
375 8000 frame_4 # Channel 4 pop
1300 3968 frame_4 # Frame 15

26000 6042 3968 5944 3968 6062 3968
5925 3968 3968 8000 3968 frame_0…10 # Bright Epic Beginning
4600 3968 3968 3968 3968 8000 3968 frame_0_2_4_6_7_9 # Face
200 3968 frame_7 # Frame 2
1000 8000 frame_7 # Face
200 3968 frame_7 # Frame 2
32450 8000 frame_7 # Face
800 8000 8000 8000 3968 8000 8000 frame_0_5…7_9_10 # Green
800 8000 3968 frame_4_5 # White
800 3968 8000 frame_4_5 # Green
800 8000 3968 frame_4_5 # White
800 3968 8000 frame_4_5 # Green
800 8000 3968 frame_4_5 # White
800 3968 8000 frame_4_5 # Green
800 8000 3968 frame_4_5 # White
800 3968 8000 frame_4_5 # Green
800 8000 3968 frame_4_5 # White
800 3968 8000 frame_4_5 # Green
800 8000 3968 frame_4_5 # White
800 3968 8000 frame_4_5 # Green
800 8000 3968 frame_4_5 # White
800 3968 8000 frame_4_5 # Green
800 8000 3968 frame_4_5 # White
800 3968 8000 frame_4_5 # Green
800 8000 3968 frame_4_5 # White
800 3968 8000 frame_4_5 # Green
800 8000 3968 frame_4_5 # White
800 3968 8000 frame_4_5 # Green
800 8000 3968 frame_4_5 # White
800 3968 8000 frame_4_5 # Green
800 8000 3968 frame_4_5 # White
800 3968 8000 frame_4_5 # Green
800 8000 3968 frame_4_5 # White
800 3968 8000 frame_4_5 # Green
800 8000 3968 frame_4_5 # White
800 3968 8000 frame_4_5 # Green
800 8000 3968 frame_4_5 # White
800 3968 8000 frame_4_5 # Green
3550 8000 3968 frame_4_5 # White
200 5925 8000 8000 8000 6023 8000
6003 7941 8000 6003 6003 frame_0…10 # Heart Beat
200 3968 3968 3968 3968 3968 3968 frame_1…3_5_7_8 # Dim
200 8000 8000 8000 8000 7941 8000 frame_1…3_5_7_8 # Heart Beat
200 3968 3968 3968 3968 3968 3968 frame_1…3_5_7_8 # Dim
200 8000 8000 8000 8000 7941 8000 frame_1…3_5_7_8 # Heart Beat
300 3968 3968 3968 3968 3968 3968 frame_1…3_5_7_8 # Dim
200 8000 8000 8000 8000 7941 8000 frame_1…3_5_7_8 # Heart Beat
200 3968 3968 3968 3968 3968 3968 frame_1…3_5_7_8 # Dim
200 8000 8000 8000 8000 7941 8000 frame_1…3_5_7_8 # Heart Beat
550 3968 3968 3968 3968 3968 3968 frame_1…3_5_7_8 # Dim
200 8000 8000 8000 8000 7941 8000 frame_1…3_5_7_8 # Heart Beat
450 3968 3968 3968 3968 3968 3968 frame_1…3_5_7_8 # Dim
200 8000 8000 8000 8000 7941 8000 frame_1…3_5_7_8 # Heart Beat
500 3968 3968 3968 3968 3968 3968 frame_1…3_5_7_8 # Dim
200 8000 8000 8000 8000 7941 8000 frame_1…3_5_7_8 # Heart Beat
500 3968 3968 3968 3968 3968 3968 frame_1…3_5_7_8 # Dim
200 8000 8000 8000 8000 7941 8000 frame_1…3_5_7_8 # Heart Beat
650 3968 3968 3968 3968 3968 3968 frame_1…3_5_7_8 # Dim
200 8000 8000 8000 8000 7941 8000 frame_1…3_5_7_8 # Heart Beat
900 3968 3968 3968 3968 3968 3968 frame_1…3_5_7_8 # Dim
200 8000 8000 8000 8000 7941 8000 frame_1…3_5_7_8 # Heart Beat
1200 3968 3968 3968 3968 3968 3968 frame_1…3_5_7_8 # Dim
200 8000 8000 8000 8000 7941 8000 frame_1…3_5_7_8 # Heart Beat
1300 3968 3968 3968 3968 3968 3968 frame_1…3_5_7_8 # Dim
200 8000 8000 8000 8000 7941 8000 frame_1…3_5_7_8 # Heart Beat
1400 3968 3968 3968 3968 3968 3968 frame_1…3_5_7_8 # Dim
200 8000 8000 8000 8000 7941 8000 frame_1…3_5_7_8 # Heart Beat
1600 3968 3968 3968 3968 3968 3968 frame_1…3_5_7_8 # Dim
200 8000 8000 8000 8000 7941 8000 frame_1…3_5_7_8 # Heart Beat
1800 3968 3968 3968 3968 3968 3968 frame_1…3_5_7_8 # Dim
200 8000 8000 8000 8000 7941 8000 frame_1…3_5_7_8 # Heart Beat
2300 3968 3968 3968 3968 3968 3968 frame_1…3_5_7_8 # Dim
200 8000 8000 8000 8000 7941 8000 frame_1…3_5_7_8 # Heart Beat
2500 3968 3968 3968 3968 3968 3968 frame_1…3_5_7_8 # Dim
200 8000 8000 8000 8000 7941 8000 frame_1…3_5_7_8 # Heart Beat
2300 3968 3968 3968 3968 3968 3968 frame_1…3_5_7_8 # Dim
200 8000 8000 8000 8000 7941 8000 frame_1…3_5_7_8 # Heart Beat
2100 3968 3968 3968 3968 3968 3968 frame_1…3_5_7_8 # Dim
200 8000 8000 8000 8000 7941 8000 frame_1…3_5_7_8 # Heart Beat

else
500 8000 8000 8000 8000 8000 8000 8000 8000 8000 8000 8000 frame_0…10

endif

repeat

sub frame_0…10
10 servo
9 servo
8 servo
7 servo
6 servo
5 servo
4 servo
3 servo
2 servo
1 servo
0 servo
delay
return

sub frame_1_4_8_10
10 servo
8 servo
4 servo
1 servo
delay
return

sub frame_0_1_4_6…8_10
10 servo
8 servo
7 servo
6 servo
4 servo
1 servo
0 servo
delay
return

sub frame_7
7 servo
delay
return

sub frame_6
6 servo
delay
return

sub frame_5
5 servo
delay
return

sub frame_4
4 servo
delay
return

sub frame_3
3 servo
delay
return

sub frame_2
2 servo
delay
return

sub frame_1
1 servo
delay
return

sub frame_0
0 servo
delay
return

sub frame_8
8 servo
delay
return

sub frame_9
9 servo
delay
return

sub frame_10
10 servo
delay
return

sub frame_2_6_7_10
10 servo
7 servo
6 servo
2 servo
delay
return

sub frame_1…4_7_8_10
10 servo
8 servo
7 servo
4 servo
3 servo
2 servo
1 servo
delay
return

sub frame_0_5…7_9_10
10 servo
9 servo
7 servo
6 servo
5 servo
0 servo
delay
return

sub frame_4_5
5 servo
4 servo
delay
return

sub frame_1…3_5_7_8
8 servo
7 servo
5 servo
3 servo
2 servo
1 servo
delay
return

sub frame_0_2_4_6_7_9
9 servo
7 servo
6 servo
4 servo
2 servo
0 servo
delay
return[/code]

Thanks
Cade

Hello.

Your script looks like it has a lot of repeating number sequences; for example, you put the following numbers onto the stack multiple times before calling your frame_0…10 subroutine:

500 7882 8000 3968 3968 8000 3968 8000 3968 8000 3968 8000

Instead of having your code repeat number sequences multiple times, you could have a subroutine that simply puts those values on the stack. Using the same number sequence as the example above, one of your subroutines might look like this:

sub position_sequence1
	500 7882 8000 3968 3968 8000 3968 8000 3968 8000 3968 8000
	return

Then, every time you want to add those values to the stack, you can call the subroutine instead of using extra programming space for the same values. This would probably be an easy way to save space and would probably make your code easier to follow if you used descriptive names for your subroutines.

-Brandon