SRL Archive - SRL Archives

WizardTower;


JuKKa

2006-12-24 19:35:05

This will check if in wizzy tower and if it is.. it will tele to lumby .. pretty simple script. its good if u use goblin scheduler.. and dont want to be teled to wizzy tower. worked everytime i tested. here it is..


Procedure WizardTower;
var Towers : Integer;
begin
if FindMSColorTol(x, y,9006173,5) then
begin
mmouse(x,y,2,2)
wait(25+random(50))
if IsUpTextMulti('Miz','zgo','gog') then
writeln('We are in the wizzy tower.')
gametab(7);
mouse(567, 229,2,2,true)
wait(5000+random(2000))
typesend('Bye lolz..lumby calls me')
wait(7000+random(2000))
Towers:= Towers + 1;
end;
end;

for the lazy ones


program New;
{.include srl/srl.scar}

Procedure WizardTower;
begin
if FindMSColorTol(x, y,9006173,5) then
begin
mmouse(x,y,2,2)
wait(25+random(50))
if IsUpTextMulti('Miz','zgo','gog') then
writeln('We are in the wizzy tower.')
gametab(7);
mouse(567, 229,2,2,true)
wait(7000+random(2000))
typesend('Bye lolz..lumby calls me.')
wait(7000+random(2000))
end;
end;

begin
setupsrl;
wizardtower;
end.

just go to the wizard tower highest level.. and run the script. if it is inside wizard tower it will teleport to lumby..

and add this line to the report thingy:


if (towers > 0) then addtoreport('| Wizzy Tele''s Made : '+ SRLReportInStyle(Towers));

Infantry001

2006-12-24 19:40:21

do you think there is a better way to find if you are in wizard tower?

JuKKa

2006-12-24 19:56:16

i tried both bitmaps and dtms but no go…