Looks great for your first script!
Simba Code:
Function Compass:boolean;
begin
case C of
1: begin
case random(4) of
0:makecompass(122);
1:makecompass(118);
2:makecompass(124);
3:makecompass(137);
end
c:=2
end;
2: begin
case random(4) of
0:makecompass(338);
1:makecompass(340);
2:makecompass(332);
3:makecompass(336);
end
C:=1
end;
end
end;
Case Inception! Interesting but I think RandomRange(Min,Max); would probably be the better option (Assuming it is for anti-ban);
Also, try to use Procedures instead of Functions when you do not need to return something such as a Boolean, Integer, Ect.
Overall, Great work keep it up