TkrZ
2012-01-05 08:59:34
I'm trying to make a procedure that finds Nature Runes in the inventory, can anyone help me please?
But when I compile, I get this error:
Any help would be much appreciated! (Hey, I might even be using the shittiest method to find nature runes, I don't know ;P)
Robot
Procedure ItemCheck;
var x, y: integer;
begin
GameTab(Tab_Inv)
If FindObjCustom(x, y, ['ure', 'Rune', 'Natu'], [1276176, 8355717, 8684682], 5) Then
WriteLn('Nature runes found');
Else
WriteLn('Nature runes not found');
end; But when I compile, I get this error:
[Error] (17:1): Identifier expected at line 16
Compiling failed.Any help would be much appreciated! (Hey, I might even be using the shittiest method to find nature runes, I don't know ;P)
Robot