well, i'm doing a script which opens and closes a shop and i didn't find anything like "CloseShop", so i jsut thought i'd post this; did i mis it somewhere?
SCAR Code:
Procedure CloseShop;
begin
if ShopScreen then
Mouse(482, 38, 7, 7, true);
end;
don't worry about the randomness, it's within the shop's "closing" cross/square.
edit: also, there's this missing in amount.scar:
SCAR Code:
// * procedure ShopSwitchTab(name:string); // * by Rasta Magician
re-edit: well since no dev has posted yet:
SCAR Code:
function ShopScreen: Boolean;
begin
Result := (GetColor(248, 303) = 2070783);
end;
Color Picked: 3358280 at (248, 303)
Fagex move it a pixel.
Color Picked: 2070783 at (249, 303)
~RM