hi all im new to this scripting thing so i have a question and it would be awsome if someone could help me out with this.
first of all i have readed all the tut's that i could find on this forum and i downloaded scar divi etc
then i putted the mining script in scar and did it exactly as the tutorial said (very cool tutorial btw with those pictures etc)
so i got this script
program new;
begin
import java.awt.*;
import java.awt.event.KeyEvent;
import com.speljohan.rsbot.bot.Bot;
import com.speljohan.rsbot.event.listeners.PaintListener;
import com.speljohan.rsbot.script.Script;
import com.speljohan.rsbot.script.wrappers.*;
import com.speljohan.rsbot.script.*;
(ETC ETC ETC i cant post the whole script )
public RSTile neRockTile = new RSTile(2927, 4849);
public RSTile neByRockTile = new RSTile(2925, 4847);
public RSTile nwRockTile = new RSTile(2893, 4848);
public RSTile nwByRockTile = new RSTile(2895, 4846);
public RSTile seRockTile = new RSTile(2927, 4816);
public RSTile seByRockTile = new RSTile(2926, 4816);
public RSTile swRockTile = new RSTile(2895, 4813);
public RSTile swByRockTile = new RSTile(2897, 4811);
public int bankBoothID = 11402;
public int rockID = 2491;
public int portalID = 2492;
public int closedDoorID = 24381;
public RSTile[] bankToShopPath = {new RSTile(3254,3426),new RSTile(3260,3416),new RSTile(3260,3405),new RSTile(3253,3399)};
public RSTile[] shopToBankPath = {new RSTile(3253,3398),new RSTile(3256,3409),new RSTile(3260,3420),new RSTile(3254,3428)};
public RSTile[] centerToMinePath = {new RSTile(2906,4827),new RSTile(2901,4817),new RSTile(2897,4811)};
public RSTile[] walkBackPath = { new RSTile(3222, 3219), new RSTile(3233, 3221), new RSTile(3244, 3225), new RSTile(3255, 3227), new RSTile(3259, 3238), new RSTile(3257, 3249), new RSTile(3252, 3259), new RSTile(3247, 3269), new RSTile(3241, 3279), new RSTile(3239, 3290), new RSTile(3239, 3301), new RSTile(3244, 3311), new RSTile(3251, 3320), new RSTile(3262, 3322), new RSTile(3270, 3330), new RSTile(3281, 3332), new RSTile(3286, 3342), new RSTile(3295, 3349), new RSTile(3299, 3360), new RSTile(3299, 3371), new RSTile(3296, 3382), new RSTile(3294, 3393), new RSTile(3293, 3404), new RSTile(3292, 3415), new RSTile(3283, 3422), new RSTile(3272, 3426),
new RSTile(3261, 3427), new RSTile(3253, 3421)};
}
end.
then i want to press run but then i get this error : Line 3: [Error] (3:1): Unknown identifier 'import' in script
so thats pretty much it i dont know what to do
hope to hear something from you out there
