Sin
2012-01-19 20:10:58
case(2) of :
1. Mouse(x,y,0,0,False);
wait(1000);
ChooseOption('Use');
2. Mouse(x,y,0,0,True); I'm pretty sure that's not how it's supposed to go like…But it's my first time using a case statement :P
2012-01-19 20:10:58
case(2) of :
1. Mouse(x,y,0,0,False);
wait(1000);
ChooseOption('Use');
2. Mouse(x,y,0,0,True); I'm pretty sure that's not how it's supposed to go like…2012-01-19 20:11:56
case random(2) of
1: begin
Mouse(x,y,0,0,False);
wait(1000);
ChooseOption('Use')
end;
2: Mouse(x,y,0,0,True);
end;
2012-01-19 20:24:24
2012-01-19 20:48:47
2012-01-19 20:56:21
case Random(2) of
0: begin
Mouse(x,y,0,0,False);
wait(1000);
ChooseOption('Use')
end;
1: Mouse(x,y,0,0,True);
end;2012-01-19 20:58:43
From: Dynamite
case Random(2) of
0: begin
Mouse(x,y,0,0,False);
wait(1000);
ChooseOption('Use')
end;
1: Mouse(x,y,0,0,True);
end;
Is what you want I think :)
-Boom
2012-01-19 21:00:03
From: Yanhua
I posted the exact same thing…
2012-01-19 21:00:50
From: Dynamite
Random(2) will generate either 0 or 1.
So no, you didn't :) <3
-Boom
2012-01-19 21:01:37
From: Yanhua
Oh, okay. In that case he can use RandomRange(1,2) :) :spot:
2012-01-20 12:02:26
From: Dynamite
case Random(2) of
0: begin
Mouse(x,y,0,0,False);
wait(1000);
ChooseOption('Use')
end;
1: Mouse(x,y,0,0,True);
end;
Is what you want I think :)
-Boom
case Random(2) of
0: begin
Mouse(x,y,3,3,False);
wait(800 + random(400));
ChooseOption('Use');
end;
1: Mouse(x,y,3,3,True);
end;