Syntax Error on line 19

MOVE: q d8-f6 is not a valid expression, because q is not a recognized piece, coordinate, command, or subroutine.

Edit the Settings File for Time Travel Chess

For the sake of debugging, here is the full GAME Code program that this error occurred in. The lines have been properly indented to help you spot scope errors.

   0 moveindex 1
   1 MOVE: P d2-d4
   2 moveindex 2
   3 MOVE: n g8-f6
   4 moveindex 3
   5 MOVE: N b1-c3
   6 moveindex 4
   7 MOVE: p d7-d5
   8 moveindex 5
   9 MOVE: B c1-g5
  10 moveindex 6
  11 MOVE: p e7-e6
  12 moveindex 7
  13 MOVE: P e2-e3
  14 moveindex 8
  15 MOVE: p h7-h6
  16 moveindex 9
  17 MOVE: B g5-f6
  18 moveindex 10
  19 MOVE: q d8-f6
  20 moveindex 11
  21 MOVE: N g1-f3
  22 moveindex 12
  23 MOVE: n b8-c6
  24 moveindex 13
  25 MOVE: B f1-b5
  26 moveindex 14
  27 MOVE: b c8-d7
  28 moveindex 15
  29 MOVE: B b5-c6
  30 moveindex 16
  31 MOVE: b d7-c6
  32 moveindex 17
  33 MOVE: N f3-e5
  34 moveindex 18
  35 MOVE: b f8-d6
  36 moveindex 21
  37 MOVE: P f2-f4
  38 moveindex 22
  39 MOVE: e8-g8
  40 MOVE:  h8-f8
  41 moveindex 23
  42 MOVE: K e1-g1
  43 MOVE: h1-f1
  44 moveindex 24
  45 MOVE: r f8-d8
  46 moveindex 25
  47 MOVE: R f1-f3
  48 moveindex 26
  49 MOVE: @-c6
  50 moveindex 27
  51 MOVE: g1-g1
  52 MOVE: b-c6
  53 moveindex 28
  54 MOVE: p a7-a6
  55 moveindex 29
  56 MOVE: Q d1-f1
  57 moveindex 32
  58 MOVE: b d6-b4
  59 moveindex 33
  60 MOVE: P g2-g4
  61 moveindex 34
  62 MOVE: b c6-e8
  63 moveindex 35
  64 MOVE: Q f1-g2
  65 moveindex 36
  66 MOVE: p g7-g5
  67 moveindex 37
  68 MOVE: Q g2-g3
  69 moveindex 38
  70 MOVE: p c7-c5
  71 moveindex 39
  72 MOVE: P f4-g5
  73 moveindex 40
  74 MOVE: q f6-g5
  75 moveindex 41
  76 MOVE: P h2-h4
  77 moveindex 42
  78 MOVE: q g5-g7
  79 moveindex 43
  80 MOVE: R a1-f1
  81 moveindex 44
  82 MOVE: h4-h2
  83 MOVE:  P-f4
  84 MOVE:  g3-g2
  85 MOVE:  f1-a1
  86 MOVE:  g7-f6
  87 MOVE:  p-g7
  88 MOVE:  c5-c7
  89 MOVE:  k-a7
  90 moveindex 45
  91 MOVE: P g4-g5
  92 moveindex 46
  93 MOVE: p h6-g5
  94 moveindex 47
  95 MOVE: P f4-g5
  96 moveindex 48
  97 MOVE: q f6-e7
  98 moveindex 49
  99 MOVE: R a1-f1
 100 moveindex 50
 101 MOVE: b b4-d6
 102 moveindex 51
 103 MOVE: P h2-h4
 104 moveindex 52
 105 MOVE: b d6-e5
 106 moveindex 53
 107 MOVE: P d4-e5
 108 moveindex 54
 109 MOVE: p d5-d4
 110 moveindex 55
 111 MOVE: N c3-e4
 112 moveindex 56
 113 MOVE: b e8-c6
 114 moveindex 57
 115 MOVE: N e4-f6
 116 moveindex 58
 117 MOVE: k g8-h8
 118 moveindex 59
 119 MOVE: @-f1
 120 moveindex 60
 121 MOVE: p g7-f6
 122 moveindex 61
 123 MOVE: R-h5
 124 moveindex 62
 125 MOVE: k h8-g8
 126 moveindex 63
 127 MOVE: P g5-f6
 128 moveindex 64
 129 MOVE: resign
 130 end
 131 

functions

uservar

Array ( [0] => Array ( [main] => Array ( ) ) )

mline

Array ( [0] => MoveLine Object ( [movenum] => 0 [move] => [level] => 0 [comment] => [length] => 0 [newturn] => [turn] => 0 ) [1] => MoveLine Object ( [movenum] => 1 [move] => P d2-d4 [level] => 0 [comment] => [length] => 10 [newturn] => 1 [turn] => 1 ) [2] => MoveLine Object ( [movenum] => 2 [move] => n g8-f6 [level] => 0 [comment] => [length] => 12 [newturn] => [turn] => 1 ) [3] => MoveLine Object ( [movenum] => 3 [move] => N b1-c3 [level] => 0 [comment] => [length] => 10 [newturn] => 1 [turn] => 2 ) [4] => MoveLine Object ( [movenum] => 4 [move] => p d7-d5 [level] => 0 [comment] => [length] => 12 [newturn] => [turn] => 2 ) [5] => MoveLine Object ( [movenum] => 5 [move] => B c1-g5 [level] => 0 [comment] => [length] => 10 [newturn] => 1 [turn] => 3 ) [6] => MoveLine Object ( [movenum] => 6 [move] => p e7-e6 [level] => 0 [comment] => [length] => 12 [newturn] => [turn] => 3 ) [7] => MoveLine Object ( [movenum] => 7 [move] => P e2-e3 [level] => 0 [comment] => [length] => 10 [newturn] => 1 [turn] => 4 ) [8] => MoveLine Object ( [movenum] => 8 [move] => p h7-h6 [level] => 0 [comment] => [length] => 12 [newturn] => [turn] => 4 ) [9] => MoveLine Object ( [movenum] => 9 [move] => B g5-f6 [level] => 0 [comment] => [length] => 10 [newturn] => 1 [turn] => 5 ) [10] => MoveLine Object ( [movenum] => 10 [move] => q d8-f6 [level] => 0 [comment] => [length] => 12 [newturn] => [turn] => 5 ) [11] => MoveLine Object ( [movenum] => 11 [move] => N g1-f3 [level] => 0 [comment] => [length] => 10 [newturn] => 1 [turn] => 6 ) [12] => MoveLine Object ( [movenum] => 12 [move] => n b8-c6 [level] => 0 [comment] => [length] => 12 [newturn] => [turn] => 6 ) [13] => MoveLine Object ( [movenum] => 13 [move] => B f1-b5 [level] => 0 [comment] => [length] => 10 [newturn] => 1 [turn] => 7 ) [14] => MoveLine Object ( [movenum] => 14 [move] => b c8-d7 [level] => 0 [comment] => [length] => 12 [newturn] => [turn] => 7 ) [15] => MoveLine Object ( [movenum] => 15 [move] => B b5-c6 [level] => 0 [comment] => [length] => 10 [newturn] => 1 [turn] => 8 ) [16] => MoveLine Object ( [movenum] => 16 [move] => b d7-c6 [level] => 0 [comment] => [length] => 12 [newturn] => [turn] => 8 ) [17] => MoveLine Object ( [movenum] => 17 [move] => N f3-e5 [level] => 0 [comment] => [length] => 10 [newturn] => 1 [turn] => 9 ) [18] => MoveLine Object ( [movenum] => 18 [move] => b f8-d6 [level] => 0 [comment] => [length] => 12 [newturn] => [turn] => 9 ) [19] => MoveLine Object ( [movenum] => 18 [move] => [level] => 0 [comment] => // username? I don't have my account anymore and I don't [length] => 59 [newturn] => [turn] => 9 ) [20] => MoveLine Object ( [movenum] => 18 [move] => [level] => 0 [comment] => // really [length] => 9 [newturn] => [turn] => 9 ) [21] => MoveLine Object ( [movenum] => 19 [move] => P f2-f4 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 10 ) [22] => MoveLine Object ( [movenum] => 20 [move] => e8-g8; h8-f8 [level] => 0 [comment] => //O-O [length] => 24 [newturn] => [turn] => 10 ) [23] => MoveLine Object ( [movenum] => 21 [move] => K e1-g1;h1-f1 [level] => 0 [comment] => [length] => 17 [newturn] => 1 [turn] => 11 ) [24] => MoveLine Object ( [movenum] => 22 [move] => r f8-d8 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 11 ) [25] => MoveLine Object ( [movenum] => 23 [move] => R f1-f3 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 12 ) [26] => MoveLine Object ( [movenum] => 24 [move] => @-c6; [level] => 0 [comment] => //B to turn 14 [length] => 26 [newturn] => [turn] => 12 ) [27] => MoveLine Object ( [movenum] => 25 [move] => g1-g1;b-c6 [level] => 0 [comment] => [length] => 14 [newturn] => 1 [turn] => 13 ) [28] => MoveLine Object ( [movenum] => 26 [move] => p a7-a6 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 13 ) [29] => MoveLine Object ( [movenum] => 27 [move] => Q d1-f1 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 14 ) [30] => MoveLine Object ( [movenum] => 27 [move] => [level] => 0 [comment] => // Very nice to see 'Jungle Rot' and 'Posion Dart Frog.' [length] => 60 [newturn] => 1 [turn] => 14 ) [31] => MoveLine Object ( [movenum] => 27 [move] => [level] => 0 [comment] => // This [length] => 7 [newturn] => 1 [turn] => 14 ) [32] => MoveLine Object ( [movenum] => 28 [move] => b d6-b4 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 14 ) [33] => MoveLine Object ( [movenum] => 29 [move] => P g2-g4 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 15 ) [34] => MoveLine Object ( [movenum] => 30 [move] => b c6-e8 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 15 ) [35] => MoveLine Object ( [movenum] => 31 [move] => Q f1-g2 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 16 ) [36] => MoveLine Object ( [movenum] => 32 [move] => p g7-g5 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 16 ) [37] => MoveLine Object ( [movenum] => 33 [move] => Q g2-g3 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 17 ) [38] => MoveLine Object ( [movenum] => 34 [move] => p c7-c5 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 17 ) [39] => MoveLine Object ( [movenum] => 35 [move] => P f4-g5 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 18 ) [40] => MoveLine Object ( [movenum] => 36 [move] => q f6-g5 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 18 ) [41] => MoveLine Object ( [movenum] => 37 [move] => P h2-h4 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 19 ) [42] => MoveLine Object ( [movenum] => 38 [move] => q g5-g7 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 19 ) [43] => MoveLine Object ( [movenum] => 39 [move] => R a1-f1 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 20 ) [44] => MoveLine Object ( [movenum] => 40 [move] => h4-h2; P-f4; g3-g2; f1-a1; g7-f6; p-g7; c5-c7; k-a7 [level] => 0 [comment] => [length] => 57 [newturn] => [turn] => 20 ) [45] => MoveLine Object ( [movenum] => 41 [move] => P g4-g5 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 21 ) [46] => MoveLine Object ( [movenum] => 42 [move] => p h6-g5 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 21 ) [47] => MoveLine Object ( [movenum] => 43 [move] => P f4-g5 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 22 ) [48] => MoveLine Object ( [movenum] => 44 [move] => q f6-e7 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 22 ) [49] => MoveLine Object ( [movenum] => 45 [move] => R a1-f1 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 23 ) [50] => MoveLine Object ( [movenum] => 46 [move] => b b4-d6 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 23 ) [51] => MoveLine Object ( [movenum] => 47 [move] => P h2-h4 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 24 ) [52] => MoveLine Object ( [movenum] => 48 [move] => b d6-e5 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 24 ) [53] => MoveLine Object ( [movenum] => 49 [move] => P d4-e5 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 25 ) [54] => MoveLine Object ( [movenum] => 50 [move] => p d5-d4 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 25 ) [55] => MoveLine Object ( [movenum] => 51 [move] => N c3-e4 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 26 ) [56] => MoveLine Object ( [movenum] => 52 [move] => b e8-c6 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 26 ) [57] => MoveLine Object ( [movenum] => 53 [move] => N e4-f6 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 27 ) [58] => MoveLine Object ( [movenum] => 54 [move] => k g8-h8 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 27 ) [59] => MoveLine Object ( [movenum] => 55 [move] => @-f1; [level] => 0 [comment] => [length] => 9 [newturn] => 1 [turn] => 28 ) [60] => MoveLine Object ( [movenum] => 56 [move] => p g7-f6 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 28 ) [61] => MoveLine Object ( [movenum] => 57 [move] => R-h5 [level] => 0 [comment] => [length] => 8 [newturn] => 1 [turn] => 29 ) [62] => MoveLine Object ( [movenum] => 58 [move] => k h8-g8 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 29 ) [63] => MoveLine Object ( [movenum] => 59 [move] => P g5-f6 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 30 ) [64] => MoveLine Object ( [movenum] => 60 [move] => resign [level] => 0 [comment] => [length] => 12 [newturn] => [turn] => 30 ) )

allmoves

Array ( [0] => moveindex 64;MOVE: resign [1] => moveindex 63;MOVE: P g5-f6 [2] => moveindex 62;MOVE: k h8-g8 [3] => moveindex 61;MOVE: R-h5 [4] => moveindex 60;MOVE: p g7-f6 [5] => moveindex 59;MOVE: @-f1 [6] => moveindex 58;MOVE: k g8-h8 [7] => moveindex 57;MOVE: N e4-f6 [8] => moveindex 56;MOVE: b e8-c6 [9] => moveindex 55;MOVE: N c3-e4 [10] => moveindex 54;MOVE: p d5-d4 [11] => moveindex 53;MOVE: P d4-e5 [12] => moveindex 52;MOVE: b d6-e5 [13] => moveindex 51;MOVE: P h2-h4 [14] => moveindex 50;MOVE: b b4-d6 [15] => moveindex 49;MOVE: R a1-f1 [16] => moveindex 48;MOVE: q f6-e7 [17] => moveindex 47;MOVE: P f4-g5 [18] => moveindex 46;MOVE: p h6-g5 [19] => moveindex 45;MOVE: P g4-g5 [20] => moveindex 44;MOVE: h4-h2; MOVE: P-f4; MOVE: g3-g2; MOVE: f1-a1; MOVE: g7-f6; MOVE: p-g7; MOVE: c5-c7; MOVE: k-a7 [21] => moveindex 43;MOVE: R a1-f1 [22] => moveindex 42;MOVE: q g5-g7 [23] => moveindex 41;MOVE: P h2-h4 [24] => moveindex 40;MOVE: q f6-g5 [25] => moveindex 39;MOVE: P f4-g5 [26] => moveindex 38;MOVE: p c7-c5 [27] => moveindex 37;MOVE: Q g2-g3 [28] => moveindex 36;MOVE: p g7-g5 [29] => moveindex 35;MOVE: Q f1-g2 [30] => moveindex 34;MOVE: b c6-e8 [31] => moveindex 33;MOVE: P g2-g4 [32] => moveindex 32;MOVE: b d6-b4 [33] => moveindex 29;MOVE: Q d1-f1 [34] => moveindex 28;MOVE: p a7-a6 [35] => moveindex 27;MOVE: g1-g1; MOVE: b-c6 [36] => moveindex 26;MOVE: @-c6 [37] => moveindex 25;MOVE: R f1-f3 [38] => moveindex 24;MOVE: r f8-d8 [39] => moveindex 23;MOVE: K e1-g1; MOVE: h1-f1 [40] => moveindex 22;MOVE: e8-g8; MOVE: h8-f8 [41] => moveindex 21;MOVE: P f2-f4 [42] => moveindex 18;MOVE: b f8-d6 [43] => moveindex 17;MOVE: N f3-e5 [44] => moveindex 16;MOVE: b d7-c6 [45] => moveindex 15;MOVE: B b5-c6 [46] => moveindex 14;MOVE: b c8-d7 [47] => moveindex 13;MOVE: B f1-b5 [48] => moveindex 12;MOVE: n b8-c6 [49] => moveindex 11;MOVE: N g1-f3 [50] => moveindex 10;MOVE: q d8-f6 [51] => moveindex 9;MOVE: B g5-f6 [52] => moveindex 8;MOVE: p h7-h6 [53] => moveindex 7;MOVE: P e2-e3 [54] => moveindex 6;MOVE: p e7-e6 [55] => moveindex 5;MOVE: B c1-g5 [56] => moveindex 4;MOVE: p d7-d5 [57] => moveindex 3;MOVE: N b1-c3 [58] => moveindex 2;MOVE: n g8-f6 [59] => moveindex 1;MOVE: P d2-d4 )

movelist

1. P d2-d4 1... n g8-f6 2. N b1-c3 2... p d7-d5 3. B c1-g5 3... p e7-e6 4. P e2-e3 4... p h7-h6 5. B g5-f6 5... q d8-f6 6. N g1-f3 6... n b8-c6 7. B f1-b5 7... b c8-d7 8. B b5-c6 8... b d7-c6 9. N f3-e5 9... b f8-d6 // username? I don't have my account anymore and I don't // really 10. P f2-f4 10... e8-g8; h8-f8 //O-O 11. K e1-g1;h1-f1 11... r f8-d8 12. R f1-f3 12... @-c6; //B to turn 14 13. g1-g1;b-c6 13... p a7-a6 14. Q d1-f1 // Very nice to see 'Jungle Rot' and 'Posion Dart Frog.' // This 14... b d6-b4 15. P g2-g4 15... b c6-e8 16. Q f1-g2 16... p g7-g5 17. Q g2-g3 17... p c7-c5 18. P f4-g5 18... q f6-g5 19. P h2-h4 19... q g5-g7 20. R a1-f1 20... h4-h2; P-f4; g3-g2; f1-a1; g7-f6; p-g7; c5-c7; k-a7 21. P g4-g5 21... p h6-g5 22. P f4-g5 22... q f6-e7 23. R a1-f1 23... b b4-d6 24. P h2-h4 24... b d6-e5 25. P d4-e5 25... p d5-d4 26. N c3-e4 26... b e8-c6 27. N e4-f6 27... k g8-h8 28. @-f1; 28... p g7-f6 29. R-h5 29... k h8-g8 30. P g5-f6 30... resign

constants

Array ( )