you could just make multiple constants. something like this.
SCAR Code:
program test;
{.include SRL/SRL.scar}
constant
SandColor1= 1235;
SandColor2= 9561;
SandColor3= 1395;
procedure walk;
begin
if not
RadialWalk(SandColor1, 230, 140, 65, -1, 0) or
RadialWalk(SandColor2, 230, 140, 65, -1, 0) or
RadialWalk(SandColor3, 230, 140, 65, -1, 0) then
writeinln('sand colors dont work') and logout;
end;
begin
setupSRL;
walk;
end.
i know that does not work into itself, but thats the idea. Because Radial walk returns a true of false, you can make it try each different sand color in the form of a consistent before failing and logging out.