
Originally Posted by
RSisDead
if ColorWait(2000, 616, 228588, 10, 322, 627, 332) then
That is what you want, correct?

Originally Posted by
RSisDead
Also i don't understand what you mean on the second line you want me to change, as there is no superheat color... Can you just do it for me lol, since you know what you're doing? +rep
I mean it like this:

Literally change the values of x1 and x2. Find the x1 and x2 values for the superheat icon in your own spellbook and replace them with the current ones in both places! I think 640 and 651 might work (+24 pixels to the right) so give that a shot. Like this:
Simba Code:
function ChooseSpell: Boolean;
var
Time: Integer;
begin
if not LoggedIn then Exit;
Result := False;
MarkTime(Time);
repeat
if not TabWait(2000, tab_MAGIC) then
GameTab(tab_MAGIC);
if ColorWait(2000, 228588, 10, 640, 322, 651, 332) then
// ^
begin
Wait(100+Random(50));
MouseBox(640, 322, 651, 332, mouse_left);
// ^
Result := True;
Break;
end;
until(TimeFromMark(Time) > 5000);
end;