posted 01-04- 12:17 AM CT (US)
Here is the script:(Dunno if you can understand that. The first part requires 1 red apple (&arapp == 1), 1 green apple (&agapp == 1) .. I can't be bothered explaining all the rest :)).
if (&arapp == 1)
{
if (&agapp == 1)
{
&mixture = 2;
goto done;
}
}
if (&aoran == 1)
{
if (&arapp == 2)
{
if (&agapp == 1)
{
&mixture = 3;
goto done;
}
}
}
if (&aoran == 2)
{
if (&arapp == 1)
{
if (&agapp == 2)
{
if (&agrape == 2)
{
&mixture = 4;
goto done;
}
}
}
}
if (&arapp == 3)
{
if (&agapp == 2)
{
if (&agrape == 3)
{
if (&agolapp == 1)
{
&mixture = 5;
goto done;
}
}
}
}
if (&aoran == 2)
{
if (&arapp == 1)
{
if (&agapp == 3)
{
if (&agrape == 4)
{
if (&agolapp == 1)
{
&mixture = 6;
goto done;
}
}
}
}
}
if (&arapp == 2)
{
if (&agapp == 4)
{
if (&agrape == 4)
{
if (&agolapp == 1)
{
&mixture = 7;
goto done;
}
}
}
}
if (&aoran == 3)
{
if (&arapp == 3)
{
if (&agapp == 4)
{
if (&agrape == 4)
{
if (&agolapp == 1)
{
&mixture = 8;
goto done;
}
}
}
}
}
if (&aoran == 3)
{
if (&arapp == 4)
{
if (&agapp == 3)
{
if (&agrape == 4)
{
if (&agolapp == 2)
{
&mixture = 9;
goto done;
}
}
}
}
}