Code: Select all
if( foregroundWindow() ~= getWin() ) then
cprintf(cli.yellow, language[139]); -- RoM window has to be in the foreground
return;
end
Code: Select all
player:sleep();
Code: Select all
if( foregroundWindow() ~= getWin() ) then
cprintf(cli.yellow, language[139]); -- RoM window has to be in the foreground
return;
end
Code: Select all
player:sleep();
Code: Select all
while( foregroundWindow() ~= getWin() ) then
yrest(100); -- So we don't waste up processor time while waiting
end
Code: Select all
while( foregroundWindow() ~= getWin() ) do
yrest(100); -- So we don't waste up processor time while waiting
end
Users browsing this forum: Ahrefs [Bot] and 1 guest