BigRedJapan
2013-06-22 15:01:06
I have tried everything but nothing works good!
It either starts to log out and hop worlds, or it just spam searches for masks without hopping!
How do I Make it so that it would Search the world and if not findMask then log out and Hop!
This is a little snippet of the loop I have!
It either starts to log out and hop worlds, or it just spam searches for masks without hopping!
How do I Make it so that it would Search the world and if not findMask then log out and Hop!
This is a little snippet of the loop I have!
Procedure SearchHopMask;
begin
if LogInPlayer then
begin
FindMaskR
WriteLn('Did Not Find Red Mask')
Wait(RandomRange(200, 250))
FindMaskB
WriteLn('Did Not Find Blue Mask')
Wait(RandomRange(200, 250))
FindMaskG
WriteLn('Did Not Find Green Mask')
Wait(RandomRange(200, 250))
end
else
begin
if not FindMaskR then
begin
If not FindMaskB then
begin
if not FindMaskG then
begin
LogOut;
Wait(RandomRange(200, 250));
ChangeWorld(RandomWorld);
end
else
begin
if Not LoginPlayer then
begin
LoginPlayer
Wait(RandomRange(200, 250))
FindMaskR
WriteLn('Did Not Find Red Mask')
Wait(RandomRange(200, 250))
FindMaskB
WriteLn('Did Not Find Blue Mask')
Wait(RandomRange(200, 250))
FindMaskG
WriteLn('Did Not Find Green Mask')
Wait(RandomRange(200, 250))
end
else
begin
if not FindMaskR then
begin
If not FindMaskB then
begin
if not FindMaskG then
begin
LogOut;
Wait(RandomRange(200, 250));
ChangeWorld(RandomWorld);
end
end;
end;
end;
end;
end;
end;
end;
end;