
Originally Posted by
Fog856
If FindObjCustom(seX, seY, ['Chop', 'down', 'p' d'], [2700605, 1779752], 10)]
Can anyone fix this line?
Heres debug box.
[Error] (66:51): Closing square bracket (']') expected at line 65
Compiling failed.
[Error] (66:51): Closing square bracket (']') expected at line 65
Compiling failed.
[Error] (66:19): Invalid number of parameters at line 65
Compiling failed.
[Error] (66:51): Closing square bracket (']') expected at line 65
Compiling failed.
Where do You need the ]??
Simba Code:
If FindObjCustom(seX, seY, ['Chop', 'down', 'p' d'], [2700605, 1779752], 10)]
Here is the fixed line(bottom one). It says that it's missing a square bracket because you forgot a ' from the d. Also you forgot a comma after 'p'.
Just compare these (upper is yours and bottom is fixed one) and you'll find where the problem was.
Simba Code:
if FindObjCustom(seX, seY, ['Chop', 'down', 'p', 'd'], [2700605, 1779752], 10) then