
Originally Posted by
99_
you can't use colors.. you have have to use MouseBox or DTMs..
because if you have the runes, it will be the same color as a spell..

which is why i used GetColor so it only picks the color from a certain spot 
SCAR Code:
{*******************************************************************************
procedure SortSpellsBy(Which: string);
By: Shuttleu
Description: Changes the order of spells depending on what is put for Which
Arguments for Which are:
level
combat
tele
*******************************************************************************}
procedure SortSpellsBy(Which: string);
var
Color: Integer;
begin
case Lowercase(Which) of
'level': begin
Color:= GetColor(682, 453);
if (Color <> 4938596) then
Mouse(677, 444, 13, 13, True);
end;
'combat': begin
Color:= GetColor(699, 449);
if (Color <> 7243153) then
Mouse(695, 444, 13, 13, True);
end;
'tele': begin
Color:= GetColor(716, 446);
if (Color <> 6518915) then
Mouse(714, 444, 13, 13, True);
end;
end;
end;
anyway here you are
~shut