Line 12: [Error] (17347:40): Type mismatch in script
SCAR Code:
{ //-------------------------------------------------------------\\
|| INSTRUCTIONS ||
||-------------------------------------------------------------||
|| BY: Kooldude ||
|| ||
|| 1. Axe in first INV slot... ||
|| 2. Drag Crosshair into RS window. ||
|| 3. Hit play and fill out forms. ||
|| 4. AXE HEAD FINDER WILL WORK, Normally :) ||
||-------------------------------------------------------------||
|| INSTRUCTIONS ||
\\-------------------------------------------------------------//
}
program Powercutter;
{.include SRL\SRL.SCAR}
{.include SRL\SRL\Skill\Woodcutting.SCAR}
const
TreeColor= '2906184'; //Color of tree
////////////////Finding Tree/////////////////
Procedure FindTree;
begin;
if FindColor(x,y,TreeColor,0,0,765,500) then // <<-- Thats the mistype error
Wait(2000+random(234))
Mouse(x,y,10,13,true)
end;
begin // Main loop
repeat
FindTree; // Calling The Procedure
until (InventoryFull);
if (InventoryFull) then
DropTo(2,28)
end;
end.
////////////Finding Axe Head Colors/////////////
Procedure GetAxeColors; //Credits go to Fourscape for This :) <3
Begin
Wait(100)
MakeCompass('S');
GameTab(4)
FindAxeHeadColor;
MakeCompass('N')
end;