The Problem lies at where i do the score editions, $numOrder is equivalent to a orderedArray of c1 c2 c3 but i can't seem to use them as hook for click. The error message says it expects a ?this or string. Can click hook be a number?
(print: "$temp <br/>")
<b>(print: "$c1 $c2 $c3")</b>
(set: $numOrder to (sorted:...(a:$c1,$c2,$c3)))
(if: $temp is $Bigger)
[
(click:$numOrder's 1st)[(set:$score to $score-0.5)]
(click:$numOrder's 2nd)[(set:$score to $score-0.5)]
(click:$numOrder's 3rd)[(set:$score to $score+1)]
]
(elseif:$temp is $Smaller)
[
(click:$numOrder's 1st)[(set:$score to $score+1)]
(click:$numOrder's 2nd)[(set:$score to $score-0.5)]
(click:$numOrder's 3rd)[(set:$score to $score-0.5)]
]
(else:)
[
(click:$numOrder's 1st)[(set:$score to $score-0.5)]
(click:$numOrder's 2nd)[(set:$score to $score+1)]
(click:$numOrder's 3rd)[(set:$score to $score-0.5)]
]
]
(else:)
[
(print:"<br\><br\>Well that was easy!")
(stop:)
]
]}